<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Coppermine Photo Gallery - Documentation &amp; Manual</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="language"    content="en">
<meta name="author" content="Tom">
<meta name="copyright"   content="Coppermine dev team">
<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
<meta name="keywords"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
<meta name="page-topic"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<!-- SVN version info: $Id: index.htm 3658 2007-07-02 15:15:31Z gaugau $ -->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
  <tbody>
  <tr>
    <td>
                        <p><img src="../images/coppermine_logo.png" alt="Coppermine Photo Gallery - Your Online Photo Gallery" />
<h1>Coppermine Photo Gallery v1.4.12: Documentation and Manual</h1>
<h1>About Coppermine</h1>
<p>Coppermine Photo Gallery is an advanced, user-friendly, picture gallery script with built-in support for other multi-media/data files.  The gallery can be private, accessible to registered users only, and/or open to all visitors to your site. Users, if permitted, can upload pictures with their web browser (thumbnail and intermediate sized images are created on the fly), rate pictures, add comments and even send e-cards. The site administrator determines which of the features listed above are accessible by registered and non-registered users. The site administrator can also manage galleries and batch process large numbers of pictures that have been uploaded onto the server by FTP.</p>
<p>Image files are stored in albums and albums can be grouped into categories, which in turn, can be further grouped under parent categories. The script supports multiple users and provides the administrator of the website with tools to manage which user groups can or cannot have personal albums, send ecards, or add comments. Users may also upload to public albums if the website administrator permits it. Permissions to create albums, upload and delete files are all determined by the website administrator.</p>
<p>Coppermine has an optional user selectable theme system with a number of themes pre-installed. It also supports the use of multiple languages and contains it's own language library. These language files provide, users of your gallery, access in their preferred languages. Coppermine uses PHP, a MySQL database, and either the GD library (version 1.x or 2.x) or ImageMagick to generate and keep records and file information of all thumbnails, intermediate, and full-sized images. Coppermine generates the html code necessary to display its various categories, sub-categories, albums, intermediate, and full-sized image displays dynamically. This drastically cuts down on the number of files and space your gallery would require using standard HTML. The install script (install.php) makes it quick and easy to get started.</p>

      <a name="top"></a>
<div id="toc">
      <h1>Table of contents</h1>
      <!--<ul class="level1">
        <li class="level1"><a href="#testVersion" class="menu1">0. Beta (Testing) version</a></li>
      </ul>-->
<ul class="level1">
        <li class="level1"><a href="#what" class="menu1">1. What is required</a></li>
</ul>
<ul class="level1">

        <li class="level1"><a href="#installation" class="menu1">2. Installation and setup</a></li>
</ul>
        <ul class="level2">
                <li class="level2"><a href="#how" class="menu2">2.1 How To Install The Script</a></li>
        </ul>
                <ul class="level3">
                  <li class="level3"><a href="#permissions">2.1.1 Setting permissions</a></li>
                </ul>
                <ul class="level4">
                  <li class="level4"><a href="#permissions_chmod">2.1.1.1 Apache on Unix/Linux (CHMOD)</a></li>
                  <li class="level4"><a href="#permissions_apache_windows">2.1.1.2 Apache on Windows</a></li>
                  <li class="level4"><a href="#permissions_iis_windows">2.1.1.3 IIS on Windows</a></li>
                </ul>
                <ul class="level3">
                  <li class="level3"><a href="#install_screen_start">2.1.2 The install screen</a></li>
                  <li class="level3"><a href="#install_what">2.1.3 What the installer does</a></li>
                </ul>
        <ul class="level2">
                <li class="level2"><a href="#getting" class="menu2">2.2 Getting Started</a></li>
        </ul>
        <ul class="level3">
                <li class="level3"><a href="#getting_concepts">2.2.1 Basic concepts</a></li>
                <li class="level3"><a href="#getting_initial_configuration">2.2.2 Initial configuration</a></li>
                <li class="level3"><a href="#getting_structure">2.2.3 Category, albums and file structure</a></li>
                <li class="level3"><a href="#getting_admin_account">2.2.4 Your admin account</a></li>
                <li class="level3"><a href="#getting_check_uploads">2.2.5 Check uploads</a></li>
                <li class="level3"><a href="#getting_consider_bridging">2.2.6 Consider bridging</a></li>
                <li class="level3"><a href="#getting_interaction">2.2.7 What are your visitors allowed to do?</a></li>
                <li class="level3"><a href="#getting_design">2.2.8 Change your coppermine's design</a></li>
        </ul>
        <ul class="level2">
                <li class="level2"><a href="#creating" class="menu2">2.3 Creating or upgrading your own themes</a></li>
        </ul>
        <ul class="level3">
                <li class="level3"><a href="#theme_builtin">2.3.1 Themes that come with Coppermine</a></li>
                <li class="level3"><a href="#theme_upgrading">2.3.2 Upgrading your custom theme</a></li>
                <li class="level3"><a href="#theme_files">2.3.3 Content of a theme</a></li>
                <li class="level3"><a href="#theme_sample">2.3.4 The sample theme - a template to copy from</a></li>
                <li class="level3"><a href="#theme_engine">2.3.5 How the theme engine works</a></li>
                <li class="level3"><a href="#theme_create">2.3.6 Creating your custom theme</a></li>
        </ul>
                <ul class="level4">
                  <li class="level4"><a href="#theme_create_rename">2.3.6.1 Rename your theme first</a></li>
                  <li class="level4"><a href="#theme_create_tipps">2.3.6.2 Tipps & tricks</a></li>
                  <li class="level4"><a href="#theme_create_wysiwyg">2.3.6.3 Using WYSIWYG-editors</a></li>
                  <li class="level4"><a href="#theme_create_template_html">2.3.6.4 Editing template.html</a></li>
                  <li class="level4"><a href="#theme_create_template_token">2.3.6.5 Template tokens</a></li>
                  <li class="level4"><a href="#theme_create_template_token_list">2.3.6.6 List of tokens in template.html</a></li>
                  <li class="level4"><a href="#theme_create_colors">2.3.6.7 Modifying colors</a></li>
                  <li class="level4"><a href="#theme_create_theme_php">2.3.6.8 Editing theme.php</a></li>
                </ul>
        <ul class="level2">
                <li class="level2"><a href="#safe" class="menu2">2.3 Safe mode issues</a></li>
                <li class="level2"><a href="#smtp" class="menu2">2.5 Using SMTP to send emails</a></li>
        </ul>
<ul class="level1">
        <li class="level1"><a href="#upgrade" class="menu1">3. Upgrading</a></li>
</ul>
        <ul class="level2">
                <li class="level2"><a href="#10" class="menu2">3.1 Upgrading from version 1.0</a></li>

                <li class="level2"><a href="#11" class="menu2">3.2 Upgrading from releases of version 1.1</a></li>
                <li class="level2"><a href="#12" class="menu2">3.3 Upgrading from cpg1.2.0rc2 or cpg1.2.0final to version cpg1.2.1</a></li>
                <li class="level2"><a href="#13" class="menu2">3.4 Upgrading from cpg1.2.0 (or better) to version cpg1.4.12</a></li>
                <li class="level2"><a href="#14" class="menu2">3.5 Upgrading from cpg1.4.0 (or better) to version cpg1.4.12</a></li>
                <li class="level2"><a href="#versioncheck" class="menu2">3.6 The version check tool</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#versioncheck_description_start">3.6.1 What it does</a></li>

                        <li class="level3"><a href="#versioncheck_options_start">3.6.2 Options</a></li>
                        <li class="level3"><a href="#versioncheck_comparison_start">3.6.3 Version comparison</a></li>
                </ul>
        <ul class="level2">
                <li class="level2"><a href="#downgrading" class="menu2">3.7 Downgrading from cpg1.4.x</a></li>
        </ul>

<ul class="level1">
        <li class="level1"><a href="#administration" class="menu1">4. Configuration &amp; Administration</a></li>
</ul>
        <ul class="level2">

                <li class="level2"><a href="#cat_alb_pic" class="menu2">4.1 Categories, albums and files</a></li>
                <li class="level2"><a href="#admin_user_mode" class="menu2">4.2 Admin mode &amp; User mode</a></li>
                <li class="level2"><a href="#group_cp" class="menu2">4.3 The group control panel</a></li>
                <li class="level2"><a href="#user_cp" class="menu2">4.4 The user control panel</a></li>
        </ul>
                <ul class="level3">

                        <li class="level3"><a href="#user_cp_page">4.4.1 Page controls</a></li>
                        <li class="level3"><a href="#user_cp_search">4.4.2 Searching for user(s)</a></li>
                        <li class="level3"><a href="#user_cp_new">4.4.3 Creating new users</a></li>
                        <li class="level3"><a href="#user_cp_edit">4.4.4 Editing users</a></li>
                        <li class="level3"><a href="#user_cp_group">4.4.5 Group membership</a></li>
                </ul>
        <ul class="level2">
                <li class="level2"><a href="#cat_cp" class="menu2">4.5 The category control panel</a></li>
                <li class="level2"><a href="#albmgr" class="menu2">4.6 The album manager</a></li>

        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#albmgr_create">4.6.1 Creating albums</a></li>
                        <li class="level3"><a href="#albmgr_rename">4.6.2 Renaming albums</a></li>
                        <li class="level3"><a href="#albmgr_order">4.6.3 Changing the album order</a></li>
                        <li class="level3"><a href="#albmgr_delete">4.6.4 Deleting albums</a></li>
                </ul>

        <ul class="level2">
                <li class="level2"><a href="#modif_alb_pics" class="menu2">4.7 Modifying album/files</a></li>
                <li class="level2"><a href="#album_prop" class="menu2">4.8 Album properties</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#album_prop_reset_start">4.8.1 Reset album properties</a></li>
                </ul>

        <ul class="level2">
                <li class="level2"><a href="#edit_pics" class="menu2">4.9 Editing files</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#edit_vids">4.9.1 Editing videos</a></li>
                        <li class="level3"><a href="#cust_thmb">4.9.2 Custom thumbnails</a></li>
                </ul>

        <ul class="level2">
                <li class="level2"><a href="#bbcode" class="menu2">4.10 Using bbcode to insert links and format in descriptions</a></li>
                <li class="level2"><a href="#uploading" class="menu2">4.11 Uploading pics/files</a></li>
        </ul>
                <ul class="level3">
                  <li class="level3"><a href="#batch_add_pics">4.11.1 Uploading pics by FTP / Batch-Add Pictures</a></li>
                  <li class="level3"><a href="#upload_http">4.11.2 Uploading by HTTP</a></li>
                  <li class="level3"><a href="#xp">4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</a></li>
                </ul>
                <ul class="level4">
                  <li class="level4"><a href="#xp_publish_setup">4.11.3.1 XP Web Publishing Wizard: Setup</a></li>
                  <li class="level4"><a href="#xp_publish_upload">4.11.3.2 XP Web Publishing Wizard: Uploading pictures</a></li>
                </ul>
        <ul class="level3">
                <li class="level3"><a href="#upload_trouble">4.11.4 Upload troubleshooting</a></li>
        </ul>
        <ul class="level2">
                <li class="level2"><a href="#admin" class="menu2">4.12 The gallery configuration page</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#admin_general">4.12.1 General settings</a></li>

                        <li class="level3"><a href="#admin_language">4.12.2 Language &amp; Charset settings</a></li>
                        <li class="level3"><a href="#admin_theme">4.12.3 Themes settings</a></li>
                        <li class="level3"><a href="#admin_album_list">4.12.4 Album list view</a></li>
                        <li class="level3"><a href="#admin_thumbnail_view">4.12.5 Thumbnail view</a></li>
                        <li class="level3"><a href="#admin_image_comment">4.12.6 Image view</a></li>
                        <li class="level3"><a href="#admin_comment_start">4.12.7 Comment settings</a></li>

                        <li class="level3"><a href="#admin_picture_thumbnail">4.12.8 File and thumbnail settings</a></li>
                        <li class="level3"><a href="#admin_picture_thumb_advanced">4.12.9 Files and thumbnails advanced settings</a></li>
                        <li class="level3"><a href="#admin_user">4.12.10 User settings</a></li>
                        <li class="level3"><a href="#admin_custom">4.12.11 Custom fields for user profile</a></li>
                        <li class="level3"><a href="#admin_custom_image">4.12.12 Custom fields for image description</a></li>

                        <li class="level3"><a href="#admin_cookie">4.12.13 Cookie settings</a></li>
                        <li class="level3"><a href="#admin_email">4.12.14 Email settings</a></li>
                        <li class="level3"><a href="#admin_logging">4.12.15 Logging &amp; statistics</a></li>
                        <li class="level3"><a href="#admin_misc">4.12.16 Miscellaneous settings</a></li>
                </ul>
        <ul class="level2">
            <li class="level2"><a href="#exif" class="menu2">4.13 EXIF data</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#exif_manager">4.13.1 The EXIF manager</a></li>
                </ul>
        <ul class="level2">
            <li class="level2"><a href="#plugin" class="menu2">4.14 Plugins</a></li>
        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#plugin_definition">4.14.1 What is a plugin?</a></li>
                        <li class="level3"><a href="#plugin_api">4.14.2 The Plugin API</a></li>
                        <li class="level3"><a href="#plugin_manager">4.14.3 The Plugin Manager</a></li>
                </ul>
                     <ul class="level4">
                         <li class="level4"><a href="#plugin_manager_upload">4.14.3.1 Uploading a plugin</a></li>
                         <li class="level4"><a href="#plugin_manager_install">4.14.3.2 Installing a plugin</a></li>
                         <li class="level4"><a href="#plugin_manager_configuration">4.14.3.3 Plugin Configuration</a></li>
                         <li class="level4"><a href="#plugin_manager_uninstall">4.14.3.4 Uninstalling a plugin</a></li>
                     </ul>
                <ul class="level3">
                        <li class="level3"><a href="#plugin_writing">4.14.4 Writing plugins</a></li>
                </ul>

<ul class="level1">
        <li class="level1"><a href="#integrating" class="menu1">5. Integrating the script with your bulletin board</a></li>
</ul>
        <ul class="level2">
                 <li class="level2"><a href="#integrating_bridge_start" class="menu2">5.1 Available bridge files</a></li>
                 <li class="level2"><a href="#integrating_prerequisites_start" class="menu2">5.2 Pre-requistes</a></li>
        </ul>
                <ul class="level3">
                         <li class="level3"><a href="#integrating_cookie_start">5.2.1 Authentication by cookie</a></li>
                         <li class="level3"><a href="#integrating_standalone_start">5.2.2 Standalone version first</a></li>
                         <li class="level3"><a href="#integrating_users_start">5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</a></li>
                         <li class="level3"><a href="#integrating_backup_start">5.2.4 Backup</a></li>
                  </ul>
        <ul class="level2">
                 <li class="level2"><a href="#integrating_steps_start" class="menu2">5.3 Integration steps</a></li>

        </ul>
                <ul class="level3">
                        <li class="level3"><a href="#bridge_manager_start">5.3.1 Using the bridge manager</a></li>
                </ul>
                         <ul class="level4">
                                 <li class="level4"><a href="#bridge_manager_app_start">5.3.1.1 choose application to bridge coppermine with</a></li>
                                 <li class="level4"><a href="#bridge_manager_path_start">5.3.1.2 path(s) used by your BBS app</a></li>
                                 <li class="level4"><a href="#bridge_manager_specific_start">5.3.1.3 BBS-specific settings</a></li>
                                 <li class="level4"><a href="#bridge_manager_enable_start">5.3.1.4 enable/disable BBS integration</a></li>
                         </ul>

                 <ul class="level3">
                                 <li class="level3"><a href="#bridge_manager_recover_start">5.3.2 Recover from failed bridging</a></li>
                                                                 <li class="level3"><a href="#integrating_steps_sync_start">5.3.3 Synchronising the bbs groups with Coppermine's groups</a></li>
                 </ul>
        <ul class="level2">
                 <li class="level2"><a href="#integrating_support_start" class="menu2">5.4 Bridging support</a></li>

        </ul>
<ul class="level1">
        <li class="level1"><a href="#translating" class="menu1">6. Translating Coppermine into other languages</a></li>

</ul>
<ul class="level1">
        <li class="level1"><a href="#known_issues" class="menu1">7. Known Issues</a></li>
</ul>
<ul class="level1">
        <li class="level1"><a href="#credits" class="menu1">8. Credits</a></li>
</ul>
        <ul class="level2">
                <li class="level2"><a href="#developers" class="menu2">8.1 Coppermine team</a></li>
                <li class="level2"><a href="#contributors" class="menu2">8.2 Contributors</a></li>

                <li class="level2"><a href="#codebase" class="menu2">8.3 Code used in Coppermine</a></li>
                <li class="level2"><a href="#copyright" class="menu2">8.4 License</a> (Copyright &amp; disclaimer)</li>
        </ul>
</div><!-- end toc -->
      <hr />

<a name="testVersion"></a>
<!--
<h1>0. Beta (Testing) version</h1>
<p>Dear Tester,</p>
<p>Thank you for taking the time to test Coppermine Photo Gallery. Please be rough on the program so that we can track down and eliminate bugs from our public release of version 1.4.</p>
<p>Please understand that this is still beta software that is meant to be used for testing purposes and not for production, so there is no support for cpg1.4.2 yet.</p>

<p>While testing CPG 1.4, please make certain to note any odd behavior you encounter.  This could include typographical errors, misleading instructions, or any other out-right error.  If you encounter a major error, please switch the debug mode to &quot;on&quot; in the configuration panel and copy the text in the debug window.  This will greatly aid the development team in hunting down the problem.</p>

<p><strong>Areas to be particularly mindful of:</strong></p>
<ul>
<li>Please test every facet of CPG, from the installation on to every feature available (and in as many themes and languages as possible).</li>
<li>If you have the ability to test GD, GD2 and ImageMagick, please test all of them.</li>
<li>Please attempt to use multiple types of graphics such as JPEG, PNG and GIF (for ImageMagick and GD 2.0.28+ users).</li>
</ul>
<p>Please report your test results to the <a href="http://coppermine.sourceforge.net/board/index.php?board=29.0">testing board</a>, but before starting a new thread make sure that the potential bug you're going to report hasn't been posted before.</p>

<p><strong>The report format should include:</strong></p>
<ul>
<li>Server OS</li>
<li>Web Server Software</li>
<li>GD, GD2 or ImageMagick Test</li>
<li>PHP Version</li>
<li>BB Integration (if any)</li>
<li>Themes fully tested (by fully tested, we mean as many different features as possible using that theme)</li>
<li>Major Errors</li>
<li>Client OS and Browser</li>
<li>Fresh install or upgrade (if upgrade, from which version of cpg)</li>
</ul>

<p>Your test results will not merely be used to fix problems but will also be used to tout the compatibility of CPG with multiple browsers and OS's.  That is why this information is important EVEN IF YOU FIND NOTHING WRONG.</p>

<p>Thanks for your participation and your time in making CPG the premiere open-source photo gallery!</p>

<p>Coppermine Development Team</p>
<p><a class="back" href="#top">Back to top</a></p><hr />
-->


<a name="what"></a>
<h1>1. What is required</h1>
<p>There are certain <b>minimum requirements</b> that need to be met in order to be able to install Coppermine:</p>
<ul>
  <li><strong>A web server that supports PHP</strong><br />
  PHP (version 4.2.0 or better), either compiled with the support for the GD library or permission to use the exec() function for the ImageMagick &quot;convert&quot; utility in order to make thumbnails and reduced size images. Mysql support needs to be compiled into PHP as well.</li>
  <li><strong>A MySQL database</strong><br />
  You will need MySQL version 3.23.23 or better. MySQL 4.1 is recommended, MySQL 5 is supported. The MySQL user needs permissions to perform CREATE, ALTER, REPLACE, SELECT, UPDATE, DELETE, INSERT data from the database. Most users have these permissions when webhosted. If you don't have them, you will not be able to use this or any other pre-made scripts at all. If you are uncertain about your permissions, please check with your webhost. Most hosting services can probably tell you whether coppermine can or cannot be run on their servers.<br />
  A database needs to be set up that Coppermine can use - the install script will <strong>not</strong> create a database for you, but it will automatically create the tables and data structure in your database during install. In most webhosted environments, you will already have at least one database set up for you by your webhost. If not, you will need to create one. If you do need to create a database, check with your webhost on the proper procedures for doing so. Write down your database name, userID and password. You will require all three to successfully install Coppermine. </li>
  <li><strong>An image library:</strong><br />
  Either GD version 1.x or 2.x (PHP has to be compiled to support it) or ImageMagick.<br />
  (see <a href="install_faq.htm#whatIsImageMagick">What's ImageMagick</a> and <a href="install_faq.htm#WhatIsGD">What is GD</a>)</li>
  <li>It's always a good idea to contact your webhosting service first and ask them if they are aware of any known issues when installing Coppermine.</li>
</ul>
<p>Although Coppermine can be run on <em>any</em> webserver that has the minimum requirements mentioned above, the Coppermine dev team can not support you on setting up your webserver in the first place. As suggested, those are requirements, i.e. they have to be met before actually considering to run Coppermine. Please note that the Coppermine group does not recommend self-hosting unless you're an experienced webserver administrator and know your way around.</p>

<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="installation"></a>
<h1>2. Installation and Setup</h1>
<a name="how"></a>
<h2>2.1 How to install the script</h2>
<ul>
  <li><strong>Unpack the archive preserving the directory structure.</strong><br /> You can rename the coppermine folder, but not the files or folders within.</li>
  <li><strong>Upload all files onto your webserver</strong> (making sure to use the correct ftp mode)</li>
  <li><strong><a href="#permissions">Set permissions</a> on the "<em>albums</em>" and "<em>include</em>" folders in your Coppermine directory</strong>. Usually, you have to apply the CHMOD command, setting the permissions to 755 (or 777, depending on your server config).  <span class="important">This step is very important and must not be overlooked!</span></li>
  <li><strong>Ensure you have correct information about your database</strong> - you need to <em>know</em> the database name as well as the details of a MySQL user account with which Coppermine should connect to the database. The database and the username must already exist, and the user must have access to the relevent database. Coppermine will not create the database for you, but it will create the tables in the database during installation, there is no need for you to add any tables yourself.</li>
  <li><strong>Run the install script on your server</strong><br />Type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.) Follow the online instructions on the <a href="#install_screen_start">install screen</a> inserting the necessary information as requested.</li>
</ul>
  <li><strong>Confirm that you have all the correct information about the database that will be used for your Coppermine installation.</strong> If no database exists for your website, you will need to create one, or have one created for you by your webhost. Your webhost can best provide you with instructions on how to go about doing this.  For installation purposes, you will need to know the path of the database server that you will be using with Coppermine and details of the MySQL user account through which Coppermine will connect to the server. You must have the database server path (usually 'localhost'), your MySQL username, MySQL password, and MySQL database name prior to installing Coppermine. The user installing Coppermine must have all relevant access rights to this database.

 If you are using a newly created database, there is no need for you to manually add any tables. Coppermine will create the necessary tables in the database during installation process.</li>

  <li><strong>To run the install script on your server,</strong> type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.)   Follow the online instructions inserting the necessary information as requested.</li>
</ul>

<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="permissions"></a>
<h3>2.1.1 Setting permissions</h3>
Coppermine needs <em>write access</em> to a number of files and folders on the webserver in order to accomplish the following:
<ul>
<li>during install, coppermine needs to create and write to the file "config.inc.php" in the "include" folder in order to store the necessary mySQL access data to run coppermine and to create and write the "install.lock" file, also in the same folder to prevent the installer from being run a second time after a successful install.</li>
<li>when using http uploads, coppermine needs to write the files that are being uploaded into the subfolders that you or your users create in the coppermine <em>albums</em> folder</li>
<li>regardless of the upload method, coppermine will create a thumbnail file and an intermediate file (if you have configured coppermine accordingly) and store it in a sub-folder in the "albums" directory, as well</li>
<li>If you are going to enable <a href="#admin_logging">logging</a> at some stage, the script needs write access on the folder "logs"</li>
<li>The "plugin" folder needs to be set to write access as well if you want to use the zip upload capabilities of the <a href="#plugin_manager_upload">plugin manager</a></li>
</ul>
<p>By default, files and folders on a webserver are usually not writable, so you will probably have to change permissions before installion, for the reasons mentioned above. It's really mandatory that you set/change (CHMOD) permissions - or you will run into issues sooner or later.</p>
<p>To be able to set permissions correctly, you have to understand how they work: there are <em><strong>r</strong>ead</em>, <em><strong>w</strong>rite</em> and <em>e<strong>x</strong>ecute</em> permissions (abbreviated with <strong>rwx</strong>) for each folder and file. Permissions on a parent folder can propagate to a child folder or the files within it, but it's possible to tweak your setup so that unwanted permissions will not propagate to child folders and resident files.</p>
<p>However, there are differences between the different operating systems that are used as webservers. As a result, there are a number of different approaches. As coppermine is designed to run on many different setups, we've included some basic instructions. Those who know their way around may find these instructions somewhat generalized and lacking in details.<br />Note: it is not your local, client computer that matters, permission-wise, but, rather, the operating system used by your webserver. If you're not sure what OS your server is running on, try the CHMOD instructions first - most webservers run a version of Unix/Linux. <span class="important">If you can't figure how to set permissions properly, ask your webhost for support.</span></p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="permissions_chmod"></a>
<h4>2.1.1.1 Apache on Unix/Linux (CHMOD)</h4>
<ul>
<li><strong>Basics</strong><br />
There are different flavors of Unix/Linux - all of them share a similar, somewhat common approach. In referring to this architecture, the word "Lunix" is used for both Unix and Linux derivates. "Read" permissions apply to files that are not actively run, but only being served, e.g text or plain html files. "Write" permissions are needed to dynamically create files, modify or delete them. "Execute" permissions are needed to run executable files, for example, script files like PHP. To serve web pages that are php-powered properly, the most basic permissions that are needed, therefore, are "read" and "execute" (abbreviated as r-x).<br />
Possible permissions settings are:
  <ul>
  <li><tt class="code">r--</tt> ... read only</li>
  <li><tt class="code">r-x</tt> ... read and execute</li>
  <li><tt class="code">rwx</tt> ... read, write and execute</li>
  </ul>
Needless to say, other combinations are technically possible (such as -wx, --x or -w-), but they make little sense in webserver setups and will be ignored in this tutorial.
</li>
<li><strong>Groups in Lunix</strong><br />
Lunix uses a set of three-group permissions, each of which can be applied independently. These are: <em>owner</em>, <em>group</em> and <em>world</em>. Using this set, you can dictate if a user who owns a file has permission to modify or delete it (write permission) while other users will only be able to read/view and possibly execute the file. On your server, these permission settings for the three possible groups are written in as a single line entry (in the order "owner", "group", "world"). <br />
Examples  :
  <ul>
  <li><tt class="code">rwxrwxrwx</tt> ... read, write and execute (rwx) permissions for all three groups</li>
  <li><tt class="code">rwxr-xr-x</tt> ... rwx permissions for the owner, r-x permissions for all others</li>
  <li><tt class="code">r-xr-xr-x</tt> ... read and execute permissions for all groups, only</li>
  </ul>
</li>
<li><strong>Webserver daemon</strong><br />
Even though you (the user who owns the files on your server and who has control over the permissions) may be able to access a file (e.g. using your FTP app), the coppermine script may not be able to do so. This is often caused by a particular setup option for servers: services (in Lunix often called "daemons") may run in the context of a specific user that is different from the user who is allowed to access the files. On many such servers, the webserver (apache) service runs as user "nobody". This way, the server can be protected against hacker attacks. Therefore, setting permissions on a server for the "owner" only does not work on these particular setups, you must set permissions for both "group" and "world" (at least for the group the webserver daemon is in).
</li>
<li><strong>Binary arithmetics</strong><br />
As you can see, permissions can be either "on" or "off" - this is the equivalent to the two different states that a bit of data can have in binary arithmetics (and therefore, also in the whole world of computing).
As we have three types of different permissions (read, write, execute), we will need three bits to assign a set of permissions. The highest bit is the "<em><strong>r</strong>ead</em>" bit - decimal "4" is used to represent it. The middle bit "<em><strong>w</strong>rite</em>" is assigned to decimal "2", the lowest bit "<em>e<strong>x</strong>ecute</em>" is represented by decimal "1".
This may be a bit hard to understand or follow at first, especially if you haven't dealt with binary arithmetics before. If you would like to learn more, google for it. It's easier to understand if you look at some examples:
<div style="float:left;margin-right:10px">
<table border="0" cellspacing="0" cellpadding="0" class="maintable">
<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true"/></td><td class="tableb">4</td></tr>
<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">7</td></tr>
</table>
</div>
<div style="float:left;margin-right:10px">
<table border="0" cellspacing="0" cellpadding="0" class="maintable">
<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">5</td></tr>
</table>
</div>
<div style="float:left;margin-right:10px">
<table border="0" cellspacing="0" cellpadding="0" class="maintable">
<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">6</td></tr>
</table>
</div>
<div style="clear:left"></div>
</li>
<li><strong>What good is all of this?</strong><br />
Instead of having to remember and write <tt class="code">rwxrwxrwx</tt> for each file or folder in your setup, you can now write <tt class="code">777</tt> in its place. The same applies for <tt class="code">rwxr-xr-x</tt>, you can write <tt class="code">755</tt>, instead.
</li>
<li><strong>FTP application</strong><br />
Setting the permissions using your FTP application will be the option available for most users who are webhosted. Depending on the FTP app you use, the user interface will slightly differ: some apps will allow you to enter the CHMOD command by entering the numbers (777 or 755), others will provide you with checkboxes where you can tick the permissions separately for each group. More advanced FTP apps may even provide you with both mechanisms. As this documentation can't cover all individual FTP apps that are available, the exact method might differ a bit from what you have.<br />
Your FTP app will probably have two windows, one showing your local files, the other one showing the files on your server. In the window that shows the remote files on the server, navigate to the folder your coppermine files reside in. Highlight the "albums" folder that resides within the coppermine folder. From the context menu (right-click!), choose "properties" (might be named "chmod" or similar as well). The permissions dialog will then pop up. Choose the proper permissions as suggested above (777 or 755, depending on your server setup). If you have a checkbox that enables the permissions to propagate for all sub-folders and files, tick it. If you don't have it, nevermind. Then click "OK" on the dialog box to apply the permissions. Keep in mind that your FTP app might not have the power to actually find out about the current permissions that <strong>are</strong> applied, so you mustn't trust the information displayed in the dialog box: even if it appears that the permissions are already set as needed, this may not be the case, so you should re-apply the permissions no matter what.<br />
After having applied the permissions for the albums folder, do the same thing for the include folder that resides within your coppermine folder.
</li>
<li><strong>Website control panel</strong><br />
Some webhosts may not give you the option to access your site using FTP, or they may not allow your FTP client to execute the CHMOD command. If this is the case, you probably have a server setup interface (e.g. cpanel) to apply permission to folders and files. In fact, this doesn't matter, the method for applying permissions doesn't differ from the one described above in the section "FTP application": navigate to the albums folder and apply the permissions needed to give your webserver write access to all files and folders within the albums folder. Do the same thing for the include folder as well.
</li>
<li><strong>Shell access</strong><br />
If you have shell access to your server, you can apply the native <a href="http://www.die.net/doc/linux/man/man1/chmod.1.html" rel="external" class="external">CHMOD</a> command on your files and folders. Go to your coppermine folder using your shell access, then apply the permissions to the albums and include folder and everything within it. As explained above, the user the apache daemon runs under needs write access, so you should CHMOD to 777 or 755, depending on your server setup.
</li>
</ul>
<a name="permissions_chmod_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="permissions_apache_windows"></a>
<h4>2.1.1.2 Apache on Windows</h4>
<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
<p>The apache webserver service runs under a particular user - if you have full access to the server, check the services control to find out which one it is. If you can't do this, ask your webhost.</p>
<p>As a temporary workaround, set permissions on folder and file level as suggested in the section <a href="#permissions_iis_windows">IIS on Windows</a>, but not for the IUSR (which only exists on IIS), but for "everyone". However, allowing "everyone" to have read, write and execute permissions might be a security risk and is not recommended at all.</p>
<a name="permissions_apache_windows_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="permissions_iis_windows"></a>
<h4>2.1.1.3 IIS on Windows</h4>
<p>Pre-requisites: you will need full admin privileges over your server to execute this process. If you do not run the webserver yourself, your webhost has probably set up a web-based interface to let you change permissions. If you're not sure, contact your webhost.</p>
<p>The dialogs may differ slightly depending on the Windows version you have:</p>
<ul>
<li>Start Windows Explorer on your webserver and navigate to your coppermine folder</li>
<li>right-click on the folder you want to change permissions for</li>
<li>Choose "Properties"</li>
<li>On the properties dialog, click on the "Security" tab</li>
<li>Highlight the user "Internet guest account (hostname\IUSR_hostname). If it's not there already, use the "Add..." dialog to add this particular user</li>
<li>Tick the "Allow"-checkbox for "Write"-access</li>
<li>Click the "Advanced" button</li>
<li>Just to make sure the write access propagates to all folders and files within the folder you're currently editing, tick the checkbox "Reset permissions on all child objects and enable propagation of inheritable permissions"</li>
<li>click "OK"</li>
<li>answer the confirmation dialog box that asks you if all permissions should be replaced with "Yes"</li>
<li>depending on the number of child objects and your system's speed, wait until the permissions of all objects have been changed and the status window goes away.</li>
<li>Click "OK" to close the permissions dialog</li>
</ul>
<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
<a name="permissions_iis_windows_end"></a>

<a href="permissions_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="install_screen_start"></a>
<h3>2.1.2 The install screen</h3>
<table border="0" cellpadding="5" cellspacing="0">
 <tr>
  <td style="border-top:1px solid #0E72A4;border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your admin account</strong>
  </td>
  <td></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"> <span class="small">This section requires information to create your administration account. Use only alphanumeric characters. Enter the data carefully !</span>
  </td>
  <td><span class="small">Input an original admin username and password here. Make sure to either memorize it well, or note it down somewhere safe; you won't be able to administer your site if you lose this data. </span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;" width="20%"><strong>Username</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;" width="20%">
          <input type="text" style="width:100%" readonly="readonly" name="admin_username" value="" />
  </td>
  <td valign="top" width="60%"><span class="small">This will be the username for your everyday administration of coppermine - choose one that you can memorize and enter easily. This entry is case sensitive so give special consideration when creating a username. Pics that you upload later under this admin account will display the name shown in the uploader field. Comments you make will also display this name, as well, for others to see.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>Password</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;">
          <input type="text" style="width:100%" readonly="readonly" name="admin_password" value="" />
  </td>
  <td><span class="small">This will be your admin password to your coppermine install. Don't use trivial, overly abused passwords - if an attacker figures out your password, s/he will be able to hack your entire site! Use a combination of letters, numbers and special characters in your password. like " j3e4n5n6y* " Remember, passwords like your admin username are case sensitive. Be careful when creating your password. Write it down and keep it safe, preferably somewhere away from your computer.</span> </td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>Email address</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;">
          <input type="text" style="width:100%" readonly="readonly" name="admin_email" value="" />
  </td>
  <td><span class="small">This email address will be used to send emails from the webserver (e.g. the registration email, notifications and ecards). Make sure that it is a valid email address.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your MySQL configuration</strong>
  </td>
  <td rowspan="2"><span class="small">MySQL is the type of database service that is available on most webservers. If you don't have it, you cannot install it. That is, unless the server is yours to administer. If you are webhosted, you are probably out of luck. It's mandatory to have a mySQL database to run Coppermine or any other PHP-based script. You can not fake the mySQL information during install, you must <strong>know</strong> it before hand, and enter the information as required. If you're not sure about the information required, ask your webhost.</span></td>
 </tr>
 <tr>
<td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><span class="small">This section requires information on how to access your MySQL database. If you don't know how to fill them, check with your webhost support.</span>
    </td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Host</strong><br /><span class="small">(localhost is usually OK)</span>
  </td>
  <td style="border-right:1px solid #0E72A4;" valign="top">
          <input type="text" style="width:100%" readonly="readonly" name="dbserver" value="localhost" />
  </td>
  <td><span class="small"></span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Database Name</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;">
          <input type="text" style="width:100%" readonly="readonly" name="dbname" value="" />
  </td>
  <td><span class="small">Coppermine will <strong>not</strong> create this database for you - it must exist prior to any attempt at installing coppermine. (If you do not have a pre-designated database, you will have to create one, provided you have the authority on your site to do so).</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Username</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;">
          <input type="text" style="width:100%" readonly="readonly" name="dbuser" value="" />
  </td>
  <td><span class="small">The mySQL user name does <strong>not</strong> have to be your coppermine admin username, nor is it the necessarily the same as your FTP username (although this <em>can</em> be the case for some users, but only by sheer coincidence or deliberate intention, to simplify site administration).<br />
  The mySQL user needs the permissions CREATE TABLE, INSERT, ALTER, UPDATE, DELETE, SELECT.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Password</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;">
          <input type="text" style="width:100%" readonly="readonly" name="dbpass" value="" />
  </td>
  <td><span class="small">The password that goes with your mySQL username.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;"><strong>MySQL table prefix</strong><br /><span class="small">(the default value is OK; do not use dots!)</span>
  </td>
  <td style="border-right:1px solid #0E72A4;" valign="top">
          <input type="text" style="width:100%" readonly="readonly" name="table_prefix" value="cpg140_" />
  </td>
  <td><span class="small">Coppermine's tables can co-exist in an existing database which has tables used by other applications. All coppermine tables will be using a different prefix from these, as specified here. You can even have several coppermine installs using one database - only the table prefixes have to differ in each case. Unless you know what you are doing, don't change the default value.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>ImageMagick</strong>
  </td>
  <td rowspan="3" valign="top"><span class="small">You can not fake an ImageMagick path, you have to <em>know</em> it. If you're not sure, leave this field empty - Coppermine will then try to use GD by default. You can edit the path later as well in the <a href="#admin_picture_thumb_advanced">config screen</a>. You can only install ImageMagick or GD if the server is yours to administer - if you're webhosted, you probably can't. The user of the webserver, who wishes to use ImageMagick, will need read/write/execute permissions in the folder where ImageMagick's convert executable resides in.</span></td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2" valign="top"><span class="small">Coppermine can use the <a href="http://www.imagemagick.org/" rel="external" class="external">ImageMagick</a> 'convert' program to create thumbnails. Quality of images produced by ImageMagick is superior to GD1 but equivalent to GD2.<br /><br />
  If ImageMagick is installed on your system and you want to use it, you need to input the full path to the 'convert' program below. On Windows the path should look like 'c:/ImageMagick/' (use / not \ in the path) and should not contain any space, on Unix is it something like '/usr/bin/X11/'.</span>
  </td>
 </tr>
 <tr>
  <td style="border-left:1px solid #0E72A4;" valign="top"><strong>ImageMagick path</strong>
  </td>
  <td style="border-right:1px solid #0E72A4;" valign="top">
          <input type="text" style="width:100%" readonly="readonly" name="impath" value="" />
  </td>
 </tr>
 <tr>
  <td colspan="2" align="center" style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;border-bottom:1px solid #0E72A4;"><br />
   <input type="submit" value="Let's Go !" /><br /><br />
  </td>
  <td><span class="small">After having entered all required data, click this button to submit the form</span></td>
 </tr>
</table>
<a name="install_screen_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="install_what"></a>
<h3>2.1.3 What the installer does</h3>
<p>After performing some basic checks, the installer creates the needed database tables for you and fills them with default values. It creates the file include/config.inc.php within the coppermine folder on your server that stores the database details you entered during install. If you should change your mysql database details later (i.e. if you change the password of your mysql user account or if you migrate your gallery to another server), you will need to edit include/config.inc.php manually to reflect the changes. The file include/config.inc.php also keeps the install script from being run twice: if the installer is run, a check is performed wether the config file exists - if yes, the installer will stop and redirect the user to the index page.</p>
<a name="install_what_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="getting"></a>
<h2>2.2 Getting started</h2>
<p>Use the &quot;<strong><a href="#albmgr">Album Manager</a></strong>&quot; (&quot;Albums&quot; link in the admin menu) in to create and order your albums. You'll need at least one album your files can go into.</p>
<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do (in the <a href="#group_cp">groups</a> panel).</p>
<p>Use the <strong><a href="#modif_alb_pics">properties</a></strong> of an album to modify its description and permissions.
</p>
<p>In order for a user to be allowed to upload a file in album two conditions must be met:</p>
<ul>
  <li> The user must be part of a <a href="#group_cp">group</a> that can upload files.</li>
  <li>There must be at least one album where &quot;<strong>Visitors can upload files</strong>&quot; has been set to &quot;<strong>Yes</strong>&quot;,<br /> <strong>OR</strong> <br />The user has created an album in the 'user galleries', if allowed.</li>
</ul>
<p>The same applies to <strong>picture rating</strong> and <strong>comment posting</strong>.</p>
<p>If you have installed the script succesfully but are having trouble getting it working properly you can enable the &quot;<strong><a href="#debug_mode">debug mode</a></strong>&quot; on the <strong>Config page</strong>. In this mode, the script outputs most of the warning/error messages produced by PHP in addition to some debug information. This can provide valuable information to understand what is wrong.</p>



<a name="getting_concepts"></a><h3>2.2.1 Basic concepts<a href="#getting_concepts" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Of course you're exited about Coppermine and want to start with it right now. However, there are some basic considerations you should make up your mind about first, as some settings can't be changed easily once your gallery has been populated with content.</p>
<p>So this section is meant as a guide once you've finished <a href="#installation">installing</a> Coppermine. Go through it carefully to avoid issues that may turn up later.</p>
<ul>
        <li><strong><a href="#getting_initial_configuration">Initial configuration</a></strong><br />
        Settings you should edit immediately after finishing the install</li>
        <li><strong><a href="#getting_structure">Category/album/file structure</a></strong><br />
        Understand how Coppermine organizes navigation and storage of individual files</li>
        <li><strong><a href="#getting_admin_account">Your admin account</a></strong><br /></li>
        <li><strong><a href="#getting_check_uploads">Check uploads</a></strong><br />
        Make sure uploading works as expected before letting in visitors</li>
        <li><strong><a href="#getting_consider_bridging">Consider bridging</a></strong><br />
        Bridging later when you already have users might get difficult</li>
        <li><strong><a href="#getting_interaction">What are your visitors allowed to do?</a></strong><br />
        What level of user interaction are you going to allow?</li>
        <li><strong><a href="#getting_design">Change your coppermine's design</a></strong><br /></li>
</ul>



<a name="getting_initial_configuration"></a><h3>2.2.2 Initial configuration<a href="#getting_initial_configuration" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>There are some settings in Coppermine's config that you should edit right after finishing install.</p>
<p>Log in with the admin username and password you set up during install, click on the &quot;Show admin controls&quot; link if it is visible, go to the <strong>Config</strong> page and start to configure your gallery. Note that even if you are a member of the administrator group, you need to be have &quot;Show admin controls&quot; enabled. In previous versions, this used to be named &quot;admin mode&quot;, but was renamed because some people thought that switching from admin mode to user mode showed them what regular users can see (which is not the case).</p>
<ul>
  <li><a href="#admin_general_email">Gallery administrator email</a></li>
  <li><a href="#admin_general_coppermine-url">URL of your coppermine gallery folder</a></li>
</ul>
<p>There are some settings in config that can't be changed later (if there are already files in the database) - make sure to set them up correctly in the first place. Although you'll surely want to start using coppermine immediately it is advisable to configure those settings (marked with an asterisk &quot;*&quot;) properly at the very beginning.</p>

<a name="getting_structure"></a><h3>2.2.3 Category, albums and file structure<a href="#getting_structure" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>The Coppermine Photo Gallery works in the following way:</p>
<ul>
  <li>Files are stored in albums</li>
  <li>Albums are organised in categories</li>
  <li>Categories can be nested (into subcategories)</li>
</ul>

<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>

<a name="getting_admin_account"></a><h3>2.2.4 Your admin account<a href="#getting_admin_account" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>It's mandatory to have your admin account configured properly and to memorize the admin account data. Coppermine even provides you with the option to retrieve a lost password, but for this, you have to configure an email address for every account. When users sign up, they have to enter an email address, so this should not be a problem. However, the admin account that you created during setup doesn't have an email account yet. You should go to your profile when logged in as admin and specify a valid email address for the admin there - this way, you can later request a new password if you forget it.</p>



<a name="getting_check_uploads"></a><h3>2.2.5 Check uploads<a href="#getting_check_uploads" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Before actually promoting your coppermine gallery publicly, you should make sure that uploads work as expected, as they are the most common issues users have, caused by the huge amount of factors that have to be taken into account. Review the <a href="#upload_trouble">upload troubleshooting section</a> if you have issues.</p>



<a name="getting_consider_bridging"></a><h3>2.2.6 Consider bridging<a href="#getting_consider_bridging" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Coppermine was designed to be used as standalone application in the first place. However, many people wanted to integrate it with another app, so starting with cpg1.1.x coppermine came with a mechanism that allowed users to bridge coppermine with another app in terms of user management. The main advantage is giving your site visitors a single sign-on for your overall site (e.g. both in your gallery and your forum), so they don't have to sign in twice and memorize two different logons.</p>
<p>Bridging does <strong>not</strong> integrate coppermine visually into your home page (you have to <a href="#creating">create a custom theme</a> to accomplish this).</p>
<p>You can enable (or disable) bridging at any time, but you should make up your mind on bridging when installing Coppermine in the first place, because there are some issues that have to be taken into account: if you already have users inside your coppermine database when enabling bridging, the correlation between those initial coppermine users and the "new" users from the app you bridge with gets lost. As a consequence, there will be no more correlation between things your "old" users did (uploading pic, posting comments etc.) and the "new" users from the bridge.</p>
<p>To circumvent those future issues, you should make up your mind when installing coppermine: do you want to allow user interaction? Do you plan to offer a bulletin board later (or any other application that keeps track of users)? If your answer is "yes", or "maybe", then it's advisable to enable bridging before actually promoting your site publicly and starting to let users in.</p>
<p>Read up details in the <a href="#integrating">bridging section</a> of the docs.</p>



<a name="getting_interaction"></a><h3>2.2.7 What are your visitors allowed to do?<a href="#getting_interaction" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Coppermine can be used for a variety or purposes: some use it to display their personal files to everyone on the internet, others want only a limited number of users to be able to access the site for viewing only and no interaction at all. A large number of webmasters want to create a community site, where users can participate by uploading files, comment on other's files and rate them.</p>
<p>You can use Coppermine in all those setups (and a mixture of it), but you should be aware of the possibilities and limitations first:</p>
<p>Users &quot;inherit&quot; their permissions from the group they're in. That's why many settings in Coppermine are set per group. This way, you can have several levels of permissions. Set permissions by group using the <a href="#group_cp">group control panel</a></p>


<a name="getting_design"></a><h3>2.2.8 Change your coppermine's design<a href="#getting_design" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>You can change some layout and design aspects (e.g. <a href="#admin_album_list_content">displaying random thumbnails on the index page</a>) in the corresponding config section. Coppermine comes with a theme engine that allows you to customize the look of your gallery. You can choose one of the themes that come with Coppermine or you can download user-contributed themes from the downloads section of the Coppermine homepage. Based on the available themes you can <a href="#theme_create">customize your individual theme</a> to make your site look unique and make your gallery match the overall look of your site.</p>
<p><a class="back" href="#top">Back to top</a></p><hr />


<a name="creating"></a>
<h2>2.3 Creating or upgrading your own themes</h2>
<p>Coppermine comes with a powerful engine that allows you to <a href="#theme_create">create your own theme</a>, giving your gallery a unique look that matches the overall layout of your entire site. Other applications call them &quot;skins&quot; or &quot;templates&quot;, well call them &quot;themes&quot;.</p>
<p>There is a (constantly growing) number of user-contributed themes that can be previewed and downloaded from the Coppermine web site.</p>
-------------------------------------
<a name="theme_builtin"></a><h3>2.3.1 Themes that come with Coppermine<a href="#theme_builtin" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>The Coppermine package comes with some pre-made themes:</p>
<ul>
  <li><strong>Classic</strong><br />
  The default theme with white background and a horizontal menu</li>
  <li><strong>Eyeball</strong><br />
  A theme with a dark background and a horizontal menu that expands for user interaction features</li>
  <li><strong>Fruity</strong><br />
  A colorful theme with a vertical menu on the left</li>
  <li><strong>Hardwired</strong><br />
  A theme with a dark background and a smallish font size that works well for narrow space and smaller resolutions. Comes with two horizontal menus</li>
  <li><strong>IGames</strong><br />
  A dark theme with 3D-effects and a horizontal menu</li>
  <li><strong>Mac OX X</strong><br />
  A theme with light background and an expanding horizontal menu that resembles the look of a Mac</li>
  <li><strong>Project VII</strong><br />
  A theme with white background featuring a horizontal expanding menu</li>
  <li><strong>Rainy Day</strong><br />
  A theme with dark background and rounded edges</li>
  <li><strong>Sample</strong><br />
  The sample theme would look identical to the classic theme. It will not be displayed using the <a href="#admin_theme_theme_list">theme selector</a> - it is just meant as <a href="#theme_sample">a template to copy from</a> when creating or modifying your own theme.</li>
  <li><strong>Waterdrop</strong><br />
  A theme with a light background and a &quot;conventional&quot; horizontal menu</li>
</ul>

<a name="theme_upgrading"></a><h3>2.3.2 Upgrading your custom theme<a href="#theme_upgrading" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>To upgrade an existing custom theme from cpg1.3.x to version 1.4.x, read the <a href="theme/index.html">theme upgrade documentation</a>.</p>
<p>You only have to upgrade your custom theme when upgrading between major versions (e.g. from cpg1.3.x to cpg1.4.x), as from one major version to the next, the theming engine is subject to changes. When only upgrading from minor versions to the next (e.g. from cpg1.4.x to cpg1.4.y), you don't have to update your custom theme.</p>
<p>The core themes that come with Coppermine packages don't need to be updated, as they should be replaced during the upgrade and therefor will contain all needed changes. However: if you have based your custom theme on one of the core themes that come with coppermine (e.g. the classic theme), pay attention to possible changes. As suggested below, it's advisable to rename your custom theme to make sure that it doesn't accidentally get overwritten when upgrading.</p>
<a name="theme_upgrading_end"></a>

<a name="theme_files"></a><h3>2.3.3 Content of a theme<a href="#theme_files" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Coppermine themes are stored in the &quot;<strong>themes</strong>&quot; directory, each consists of 3 primary files : </p>
<ul>
  <li>&quot;<strong>template.html</strong>&quot; the main template in plain HTML.</li>
  <li>&quot;<strong>style.css</strong>&quot; the stylesheet associated with the template</li>
  <li>&quot;<strong>theme.php</strong>&quot; the PHP theme file</li>
</ul>
<p>Additionally, there usually is a folder named &quot;images&quot; that resides within the theme folder (themes/theme_name/images/) that contains the images used by the particular theme (logos, bullets, backgrounds and other graphical resources needed).</p>
<a name="theme_files_end"></a>

<a name="theme_sample"></a><h3>2.3.4 The sample theme - a template to copy from<a href="#theme_sample" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>Your Coppermine installation also includes a &quot;sample&quot; theme directory. The &quot;sample&quot; theme includes each of these files but does not show up in the user selectable list of themes in your Coppermine display. Sample's theme.php also holds a copy of every themeable function and template for your reference. If you opt to use the &quot;sample&quot; theme to begin creating your own theme, you should follow the theme.php instructions in the &quot;<a href="theme/index.html">theme upgrade documentation</a>&quot; and begin with a blank theme.php.</p>
<p>To clarify: you <strong>mustn't</strong> edit the sample theme (as it will not be displayed), but copy the sections you want to see changed from it into your custom theme. Don't copy the whole content from themes/sample/theme.php into your custom theme, as this will only clutter your custom theme and will make upgrading very hard in the future. Instead, copy the sections you want to modify.</p>
<a name="theme_sample_end"></a>

<a name="theme_engine"></a><h3>2.3.5 How the theme engine works<a href="#theme_engine" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<p>When a Coppermine page is being parsed, the core code will call theme functions. If those functions exist in your custom theme, they will be taken into account. If a particular function does not exist in your custom theme, the core function will be used. The core functions (the default theme behaviour if you want to put it that way) reside in includes/themes.inc.php. Therefor, you <strong>mustn't</strong> edit includes/themes.inc.php, under no circumstances, as all your changes will be lost when upgrading in the future. Everything that possibly could be accomplished by editing include/themes.inc.php can be accomplished by editing themes/yourtheme/theme.php as well - stuff defined in your custom theme will take precedence over the core theme functions.</p>
<a name="theme_engine_end"></a>

<a name="theme_create"></a><h3>2.3.6 Creating your custom theme<a href="#theme_create" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
<a name="theme_create_rename"></a><h4>2.3.6.1 Rename your theme first<a href="#theme_create_rename" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>To create a new theme, the best solution is to use an existing one as its copy template. To do that, make a copy of the folder of the theme you want to use as a basis. Then edit the &quot;<strong>template.html</strong>&quot;, &quot;style.css&quot; and &quot;<strong>theme.php</strong>&quot; files and replace all occurences of &quot;<strong>themes/old_theme_dir</strong>&quot; with &quot;<strong>themes/new_theme_dir</strong>&quot; in order for the links to point to the correct place.<br />
Avoid using spaces and special chars in your custom theme name - only use alphanumerals and the underscore (_).</p>
<p>Also keep in mind that despite this file being located in the &quot;<strong>themes/your_theme_dir</strong>&quot; directory, it must be coded as if it was in the main directory of the coppermine installation. For example, in order to display an image, you must use <tt class="code">&lt;img src=&quot;<strong>themes</strong>/theme_dir/images/image.gif&quot; alt=&quot;&quot;/&gt;</tt> and not just <tt class="code">&lt;img src=&quot;images/image.gif&quot; alt=&quot;&quot;/&gt;.</tt> The same principle applies for the &quot;<strong>theme.php</strong>&quot; file.</p>
<div class="quote">
<p><strong>Example:</strong></p>
<ul>
  <li><strong>Create a copy</strong><br />
  Browse the local coppermine gallery copy on your client, navigate to the themes folder (<tt class="code">your_coppermine_folder/themes/</tt>), right-click on the folder name that represents the theme you want to base your custom theme on (in this example, we will use the classic theme, so we will use <tt class="code">your_coppermine_folder/themes/classic/</tt>), select &quot;copy&quot; from the context menu. Then paste the content of the clipboard into the themes folder; a folder (named &quot;Copy of classic&quot; or similar) will turn up.</li>
  <li><strong>Rename the folder</strong><br />
  Right-click on the newly created folder (<tt class="code">your_coppermine_folder/themes/Copy of classic/</tt>) and select &quot; rename&quot; from the context menu. Choose a unique theme name - in this example, we will use &quot;my_theme&quot; (resulting in the folder to be renamed to <tt class="code">your_coppermine_folder/themes/my_theme/</tt>).<br />
  Keep in mind that we will upload the theme to your webserver later - you will have to make sure to properly use capitalization: on Windows-driven clients, capitalization does not matter, so there is no difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;. Most webservers are Linux-driven though, where capitalization <em>does</em> matter (there <em>is</em> a difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;). To be safe it is recommended to use lower case to stay out of harms way.</li>
  <li><strong>Edit the files to reflect the theme name</strong><br />
  Use a plain text editor (in this example, we will use notepad.exe), open <tt class="code">your_coppermine_folder/themes/my_theme/template.html</tt>. Find &quot;<tt class="code">themes/classic</tt>&quot; and replace with &quot;<tt class="code">themes/my_theme</tt>&quot; (may exist in the file several times, so make sure to replace <em>all</em> occurrences of &quot;<tt class="code">themes/classic</tt>&quot; with &quot;<tt class="code">themes/my_theme</tt>&quot;). Save your changes. Then do the same thing for the files <tt class="code">theme.php</tt> and <tt class="code">style.css</tt>.
  </li>
</ul>
</div>
<p>It is strongly recommended to rename your custom theme as suggested above, even if you only plan to accomplish minor changes to a default theme that coppermine comes with. The reason is quite simple: when upgrading at a later stage, you will not run into issues (e.g. accidentally overwrite your customized theme with an updated default theme).</p>

<a name="theme_create_tipps"></a><h4>2.3.6.2 Tipps &amp; tricks<a href="#theme_create_tipps" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>If you're not sure how to go about creating your own theme, you could also have a look at the download section of the coppermine homepage: there are many user-contributed themes available for download that can be previewed on the <a href="http://coppermine-gallery.net/demo/cpg14x/">coppermine demo page</a>.</p>
<p>While you're in the process of creating or testing a new theme, you might not want your theme to be displayed to visitors of your site, but you (as the coppermine admin) may want to still be able to preview your theme. To do that, simply add <tt class="code">theme=your_theme_name</tt> to the url in your browser.</p>
<br />
<div class="quote">
<strong>Examples:</strong>
<ul>
<li><tt class="code">http://yoursite.tld/coppermine/index.php?theme=your_theme_name</tt> will show the coppermine index page, using your theme</li>
<li><tt class="code">http://yoursite.tld/coppermine/thumbnails.php?album=1&amp;theme=your_theme_name</tt> will show the thumbnail view of album 1, using your theme</li>
<li><tt class="code">http://yoursite.tld/coppermine/?theme=xxx</tt> will reset your view back to the theme you chose as your <a href="#admin_theme_theme">default theme</a> in coppermine config</li>
</ul>
</div>

<a name="theme_create_wysiwyg"></a><h4>2.3.6.3 Using WYSIWYG-editors<a href="#theme_create_wysiwyg" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>If you are using an HTML editor to design your template, the easist working solution might be to save the &quot;<strong>template.html</strong>&quot; file into the main directory of your coppermine installation and edit it there. Whenever you load Coppermine, if the script finds a file named &quot;<strong>template.html</strong>&quot; in the main directory it will load it instead of the default one that you assigned in the CONFIG menu. Once you have finished  editing your theme be sure to move the file back into the directory it belongs. Don't forget to remove the temporary template.html file from the Coppermine root folder once you are done editing!</p>
<p class="important">It is strongly recommended <strong>not</strong> to use a <acronym title="What You See Is What You Get">WYSIWYG</acronym>-editor at all to edit Coppermine files. The coppermine dev team is aware that it might seem easier for beginners to use those graphical editors. However, they have some major drawbacks:</p>
<ul>
  <li>Some editors (mostly MS Frontpage) are notorious for &quot;beautifying&quot; the code in a manner that renders embedded PHP code invalid. Subsequently, if you use a WYSIWYG-editor to edit theme.php, the file may get corrupt (i.e. un-usable)</li>
  <li>Graphical editors tend to create deprecated, invalid, proprietary HTML. You have more control if you use a plain text editor instead.</li>
  <li>You don't learn anything. Sooner or later, you will want to do something your precious WYSIWYG-editor isn't capable to do. Now what? You have always used the editor to do your work - you don't understand HTML. When using a plain text editor, the learning curve may be steep, but it's much more entertaining.</li>
</ul>

<a name="theme_create_template_html"></a><h4>2.3.6.4 Editing template.html<a href="#theme_create_template_html" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>The file template.html is the core file of each theme: it can only contain HTML/CSS/JavaScript code (no PHP!) plus some placeholder tokens that will get replaced with content when the theme is being parsed (i.e. when the HTML output of a gallery page is being generated). Template.html determines the overall layout of your gallery pages. Use it to make your gallery match the overall look of your entire website.</p>

<a name="theme_create_template_token"></a><h4>2.3.6.5 Template tokens<a href="#theme_create_template_token" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>When editing the &quot;<strong>template.html</strong>&quot; file do not remove the elements between <strong>{}</strong> - these are the placeholders used by the script. Think of those items in curly brackets as placeholders that will be replaced later with dynamic content when your template is being parsed. You can move the placeholder tokens around to obtain different layouts. However, you have to understand that the {GALLERY}-token is a special placeholder: think of it more as a separator than an actual placeholder token. When the template is being parsed, the {GALLERY}-token will be replaced with the actual core component of the gallery. Other placeholders tokens in curly braces that come <em>before</em> the {GALLERY} token are being handled by the pageheader function; placeholder tokens that come <em>after</em> the {GALLERY}-token are being handled by the pagefooter function. Therefor, you have to keep in mind that you can freely move tokens around in template.html as long as you don't reverse the position of the token you move and the {GALLERY}-token.</p>

<a name="theme_create_template_token_list"></a><h4>2.3.6.6 List of tokens in template.html<a href="#theme_create_template_token_list" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<table border="0" cellspacing="0" cellpadding="0" class="maintable">
  <tr>
    <th valign="top" align="left" class="tableh1">Token</th>
    <th valign="top" align="left" class="tableh1">Description</th>
    <th valign="top" align="left" class="tableh1">Default position</th>
    <th valign="top" align="left" class="tableh1">Needed?</th>
    <th valign="top" align="left" class="tableh1">Dependancies</th>
  </tr>
  <tr>
    <td valign="top" class="tableb">{LANG_DIR}</td>
    <td valign="top" class="tableb" class="tableb">
      <strong>Language direction</strong><br />
      Possible values are <abbr title="left-to-right">LTR</abbr> and <abbr title="right-to-left">RTL</abbr>. Should not be changed or modified at all.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">mandatory</td>
    <td valign="top" class="tableb">Filled by Coppermine, depending on the orientation of the language the end user has chosen</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{CHARSET}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Character set</strong><br />
      Determines the character set used - filling the HTML tag <tt class="code"><meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /></tt>. Do not change unless you <em>really</em> know what you're doing.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">mandatory</td>
    <td valign="top" class="tableb tableb_alternate">Filled by Coppermine, depending on the <a href="#admin_language_charset">encoding</a> the admin has chosen in config.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{TITLE}</td>
    <td valign="top" class="tableb">
      <strong>Page Title</strong><br />
      The page title that is mainly taken into account by search engines. The human visitor sees the title tag in the browser window.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">mandatory</td>
    <td valign="top" class="tableb">Title tag is being composed in the individual coppermine core file (e.g. displayimage.php, thumbnails.php etc.), handed over to the pageheader function.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{META}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Meta tags</strong><br />
      Meta tags that depend on the dynamic content of a page are being inserted here. Currently, Coppermine uses the keywords meta tag (<tt class="code">&lt;meta name="keywords" content="DYNAMIC CONTENT HERE" /&gt;</tt>) and the refresh meta tag (<tt class="code">&lt;meta http-equiv="refresh" content="5; URL=REDIRECTION_PAGE" /&gt;</tt>).<br />
      If you want to add other meta tags (e.g. author meta data like <tt class="code">&lt;meta name="author" content="Firstname Lastname" /&gt;</tt>), do not replace the token, but add your custom meta tags below the {META}-token.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">mandatory</td>
    <td valign="top" class="tableb tableb_alternate">Populated dynamically by the script, e.g. for meta keywords based on file keywords or for redirection for status change screens.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{CUSTOM_HEADER}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Custom Header</strong><br />
      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#admin_theme_include_path_start">custom header</a> generates. If you don't use the custom header feature, you can remove the {CUSTOM_HEADER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">optional</td>
    <td valign="top" class="tableb tableb_alternate"><a href="#admin_theme_include_path_start">Path to custom header include</a> set up in config</td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{GAL_NAME}</td>
    <td valign="top" class="tableb">
      <strong>Gallery name</strong><br />
      Will be replaced with the gallery name you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">optional</td>
    <td valign="top" class="tableb"><a href="#admin_general_name">Gallery name</a> set in config</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{GAL_DESCRIPTION}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Gallery description</strong><br />
      Will be replaced with the gallery description you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">optional</td>
    <td valign="top" class="tableb tableb_alternate"><a href="#admin_general_description">Gallery description</a> set in config</td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{SYS_MENU}</td>
    <td valign="top" class="tableb">
      <strong>System menu</strong><br />
      Determines the position of the first level menu the end user will see on your page (the one that contains the login/logout link). Even if you want to get rid of the menu or parts of it, do not remove the {SYS_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">mandatory</td>
    <td valign="top" class="tableb">
      <ul>
        <li>Login/Logout link: Status of user (admin/registered user/guest).</li>
        <li>Upload-link: Permission of current user to upload (determined in <a href="#group_cp">groups panel</a>).</li>
        <li>Register-link: <a href="#admin_allow_registration">Allow new user registrations</a> enabled/disabled in config.</li>
        <li>FAQ-link: <a href="#admin_theme_faq">Display FAQ</a> enabled/disabled in config.</li>
      </ul>
    </td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{SUB_MENU}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Sub menu</strong><br />
      Determines the position of the second level menu the end user will see on your page (the one that contains the links &quot;Album list&quot; / &quot;Last uploads&quot; / &quot;Last comments&quot; / &quot;Most viewed&quot; / &quot;Top rated&quot; / &quot;My Favorites&quot; / &quot;By Date&quot; / &quot;Search&quot;). Even if you want to get rid of the menu or parts of it, do not remove the {SUB_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">mandatory</td>
    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{LANGUAGE_SELECT_FLAGS}</td>
    <td valign="top" class="tableb">
      <strong>Language selector (flags)</strong><br />
      Will display a row of flags representing the languages available for the end user to choose if corresponding config setting is enabled.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">optional</td>
    <td valign="top" class="tableb"><a href="#admin_language_flags">Display language flags</a> enabled/disabled in config.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{LANGUAGE_SELECT_LIST}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Language selector (list)</strong><br />
      Will display a dropdown list of languages available for the end user to choose if corresponding config setting is enabled.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">optional</td>
    <td valign="top" class="tableb tableb_alternate"><a href="#admin_language_list">Display language list</a> enabled/disabled in config.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{THEME_SELECT_LIST}</td>
    <td valign="top" class="tableb">
      <strong>Theme selector (list)</strong><br />
      Will display a dropdown list of themes available for the end user to choose if corresponding config setting is enabled.
    </td>
    <td valign="top" class="tableb">pageheader</td>
    <td valign="top" class="tableb">optional</td>
    <td valign="top" class="tableb"><a href="#admin_theme_theme_list">Display theme list</a> enabled/disabled in config.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{ADMIN_MENU}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Admin menu</strong><br />
      Displays the admin menu.
    </td>
    <td valign="top" class="tableb tableb_alternate">pageheader</td>
    <td valign="top" class="tableb tableb_alternate">mandatory</td>
    <td valign="top" class="tableb tableb_alternate">Admin must be logged in. Admin controls mustn't be hidden.</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{GALLERY}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Gallery</strong><br />
    </td>
    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
    <td valign="top" class="tableb tableb_alternate">mandatory</td>
    <td valign="top" class="tableb tableb_alternate"></td>
  </tr>
  <tr>
    <td valign="top" class="tableb">{CUSTOM_FOOTER}</td>
    <td valign="top" class="tableb">
      <strong>Custom Footer</strong><br />
      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#php-content_header_footer">custom footer</a> generates. If you don't use the custom footer feature, you can remove the {CUSTOM_FOOTER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
    </td>
    <td valign="top" class="tableb">pagefooter</td>
    <td valign="top" class="tableb">optional</td>
    <td valign="top" class="tableb"><a href="#admin_theme_include_path_start">Path to custom footer include</a> set up in config</td>
  </tr>
  <tr>
    <td valign="top" class="tableb tableb_alternate">{VANITY}</td>
    <td valign="top" class="tableb tableb_alternate">
      <strong>Vanity block</strong><br />
      If your custom theme is defined as valid theme and you have enabled the corresponding option in config, the {VANITY}-placeholder will be replaced with mini-banners that link to PHP.net, mysql.com and the HTML and CSS validators of the W3C.<br />
      <img src="pics/vanity.png" width="351" height="26" border="0" alt="" title="vanity block" />
    </td>
    <td valign="top" class="tableb tableb_alternate">pagefooter</td>
    <td valign="top" class="tableb tableb_alternate">optional</td>
    <td valign="top" class="tableb tableb_alternate">
      <a href="#vanity_block">Display the vanity block on themes that are defined as XHTML and CSS compliant</a> enabled in config.<br />
      Theme defined XHTML and CSS compliant in theme.php
    </td>
  </tr>
</table>


<a name="theme_create_colors"></a><h4>2.3.6.7 Modifying colors<a href="#theme_create_colors" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>To modify the colors, fonts, font sizes, etc... used by the script, you should edit the &quot;<strong>style.css</strong>&quot; stylesheet whenever possible. For example, if you want to increase or decrease the size of the fonts you can simply modify the line with : <tt class="code">table { font-size: 12px; }</tt>. Most of the font sizes used by the script are defined as a percentage of this size.</p>

<a name="theme_create_theme_php"></a><h4>2.3.6.8 Editing theme.php<a href="#theme_create_theme_php" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
<p>The &quot;<strong>theme.php</strong>&quot; file contains all the HTML templates used by the script. You can edit them, as well. When making modifications to these templates, be careful that you do not alter the lines that start with <tt class="code">&lt;!-- BEGIN xxx --&gt;</tt> and <tt class="code">&lt;!-- END xxx --&gt;</tt>. These lines are often used to identify the start and end of specific code blocks that the script will use to display your gallery.</p>


<a name="theme_create_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="safe"></a>
<h2>2.4 Safe mode issues</h2>
<p>A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the &quot;open basedir restriction&quot; active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.</p>
<p>If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :</p>
<ul>
  <li>With a FTP program, change the mode of Coppermine's &quot;<strong>include</strong>&quot; directory on your server to <strong>0777</strong>.</li>
  <li>Do the same for the &quot;<strong>albums</strong>&quot; and &quot;<strong>userpics</strong>&quot; directories.</li>
  <li>Check that at the beginning the the &quot;<strong>include/config.inc.php</strong>&quot; file, you have a line with : &quot;<strong>define('SILLY_SAFE_MODE', 1);</strong>&quot;</li>
</ul>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="smtp"></a>
<h2>2.5 Using SMTP to send emails</h2>
<p>By default the script uses the PHP built-in <strong>mail</strong> function to send emails. In some cases, the PHP built-in function can't be used.</p>
<p> If, in order to send emails with PHP, you are required to supply a <strong>hostname</strong>, a <strong>username</strong> and a <strong>password</strong>, you will need to edit the CONFIG menu section &quot;Email settings&quot; and insert the correct values there. If you don't need a username and password to connect to your SMTP server, just leave these lines blank. If you don't know what settings to enter, you will need to check with your webhost.</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="upgrade"></a>
<h1>3. Upgrading</h1>
<a name="10"></a>
<h2>3.1 Upgrading from version 1.0</h2>

<p>If you already have installed version 1.0 and you want to transfer your albums to version 1.4x follow the following steps:</p>
<ul>
  <li>First, make a backup (dump) of your database.</li>
  <li> Install version 1.4.x as you normally would but in a directory different from the one where you v 1.0 is. Note that in order to use the upgrade script, <strong>tables for version 1.0 and 1.4.x must be stored in the same database</strong>.</li>
  <li>Copy the &quot;<strong>albums</strong>&quot; directory of version 1.0 into the directory where you installed version 1.4.x</li>
  <li>The upgrade script assumes that you used the &quot;<strong>CPG_</strong>&quot; prefix for tables (default value) when you installed version 1.0, if this is not the case, edit upgrade-1.0-to-1.2.php and edit the $prefix10 variable.</li>
  <li>Login to your 1.4.x Gallery, enter the admin mode</li>
  <li>And call the upgrade script, http://yousitename/coppermine_dir/upgrade-1.0-to-1.2.php</li>
  <li><strong>The upgrade from 1.0 to 1.4.x is a two-step process.</strong> You must click the link which comes up on the bottom of the page to complete the upgrade!.</li>
        <li><strong>Delete upgrade-1.0-to-1.2.php from your server</strong>.</li>
        <li>If you get an error, go to Coppermine 1.4.x config page, enable <a href="#debug_mode">debug mode</a>, try to call the upgrade script again and check what errors you get.</li>
</ul>
<p> <strong>This upgrade process leaves your v1.0 gallery untouched </strong></p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="11"></a>
<h2>3.2 Upgrading from releases of version 1.1</h2>
  <ul>
      <li>First, make a backup (dump) of your database.</li>
      <li>Backup your include/config.inc.php file, your anycontent.php file and your "albums" directory.</li>
      <li>Unpack the archive</li>
      <li>If the file <strong>install.php</strong> exists in the root directory, delete it.</li>
      <li>Upload all of the new files and directories</li>
      <li>CHMOD the albums directory and all subfolders once more to 755 or 777 (depending on your server config)</li>
      <li>Call the upgrade script http://yousitename/coppermine_dir/update.php</li>
      <li>Your upgrade should be complete.</li>
  </ul>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="12"></a>
<h2>3.3 Upgrading from cpg1.2.0rc2 or cpg1.2.0final to version cpg1.2.1</h2>
    <ul>
                <li>First, make a backup (dump) of your database.</li>
        <li>Backup your include/config.inc.php file, your anycontent.php file and your "albums" directory.</li>
        <li>Unpack the archive</li>
        <li>If the file <strong>install.php</strong> exists in the root directory, delete it.</li>
        <li><strong>Except for the "albums" directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
        <li>create a folder called &quot;edit&quot; within your &quot;albums&quot; directory - this folder will be used by coppermine as a temporary folder, do not ftp-upload files there. Make sure the new &quot;edit&quot;-folder is CHMODed the same way your albums-directory is (755 or 777, depending on your server's config)</li>
        <li>No database update is necessary, and you're ready to roll</li>
    </ul>

<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="13"></a>
<h2>3.4 Upgrading from cpg1.2.x or cpg1.3.x to version cpg1.4.12</h2>
    <ul>
                <li>First, make a backup (dump) of your database.</li>
        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
        <li>Unpack the archive</li>
        <li>If the file <strong>install.php</strong> exists in the root directory, delete it.</li>
        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
        <li>Delete all leftover, outdated language files in the lang folder that are named XXX-utf-8.php</li>
        <li>If you have not already done so, create a folder called &quot;edit&quot; within your &quot;albums&quot; directory - this folder will be used by coppermine as a temporary folder, do not ftp-upload files there. Make sure the new &quot;edit&quot;-folder is CHMODed the same way your albums-directory is (755 or 777, depending on your server's config)</li>
        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
        <li>You can not use language files from older versions of Coppermine as primary language (the language the admin will use) - make sure you only have the language files that come with this package inside of your lang folder (delete or rename all files from older versions within the lang folder).<br />
        If you need to use a language that hasn't been translated for cpg1.4.x, you can try using the language file from cpg1.3.x, however there are certain caveats:
          <ul>
            <li>You need to enable the language fallback option in coppermine's config page</li>
            <li>cpg1.4.x-phrases that don't exist in your old language file will go untranslated or show in english</li>
            <li>Coppermine can't be administered using an old language file - the admin needs to use a "true" cpg1.4.x language file</li>
            <li>You're free to try using old language files, however when running into issues or error messages, switch to US-English and see if the issue goes away then. Using outdated language files goes unsupported</li>
          </ul>
        </li>
        <li>The bridging method has changed from cpg1.3.x to cpg1.4.x. When upgrading, your bridged coppermine install will be unbridged - you will have to re-apply the bridging using the <a href="#integrating">bridge-manager</a> (using your standalone admin account you initially used to set up coppermine). You will not lose anything though, don't worry.</li>
    </ul>
<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.3.0 or better to cpg1.4.x, users of previous versions will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>

<a name="14"></a>
<h2>3.5 Upgrading from cpg1.4.0 or better to version cpg1.4.12</h2>
    <ul>
        <li>First, make a backup (dump) of your database.</li>
        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
        <li>Unpack the archive</li>
        <li>If the file <strong>install.php</strong> exists in the root directory, delete it. When performing an upgrade, it is not needed.</li>
        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
    </ul>
<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.4.0 or better to cpg1.4.12, users of older versions than cpg1.4.12 will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>

<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="versioncheck"></a>
<h2>3.6 The version check tool</h2>
<p>Since the release of cpg1.3.2 Coppermine comes with an additional version checking tool to help you resolve issues with upgrades and updates easily. Except for specific files of coppermine that will only work for the version that it had been originally designed for, the versioncheck tool can be used with all versions starting from cpg1.2.1. To launch the versioncheck, simply add <tt>versioncheck.php</tt> to your browser's address bar after being logged into coppermine as admin (example: <tt>http://yourdomain.tld/your_coppermine_folder/versioncheck.php</tt>).  With version 1.4x, you can run the versioncheck utility from the Admin Tools menu.</p>
<a name="versioncheck_description_start"></a>
<h3>3.6.1 What it does</h3>
<p>The script &quot;versioncheck&quot; is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if the local file versions on your webserver are the identical to the ones at the repository of http://coppermine.sourceforge.net. Files that do not match are displayed and are the files you should update as well. In Cpg1.4.x you can toggle the URL to the latest update for individual files in the versioncheck page.</p>
<p>It will show everything in <span style="color:red;font-weight:bold">red</span> that needs to be fixed. Entries in <span style="color:#FFBE00;font-weight:bold">yellow</span> need looking into. Entries in <span style="color:green;font-weight:bold">green</span> (or your theme's default font color) are OK and should be left alone. When an entry is <span style="color:red;font-weight:bold">red</span> or <span style="color:#FFBE00;font-weight:bold">yellow</span>, a help icon will appear next to it. Click it to find out more. Hovering with your mouse over an item will display additional information as well (tooltip).</p>
<p>The versioncheck screen has several sections:</p>
<ul>
<li>Section 1 explains what the versioncheck tool can be used for</li>
<li>Section 2 (&quot;<a href="#versioncheck_options_start">Options</a>&quot;) displays the options you can chose</li>
<li>Section 3 will display a warning if coppermine was not able to connect to the online repository (where the most recent version data is being stored). The script will default to a local copy of the repository file. If connection to the online repository was succesfull, there will of course be no error message (no section 3).</li>
<li>Section 4 will show what version of coppermine you actually use. The versioncheck script draws this piece of information from the file <em>include/init.inc.php</em> - if you haven't replaced your copy of this file with the new version during upgrade, your old (outdated) version will appear in this section.</li>
<li>Section 5 will show the core of versioncheck's file: the version comparison. The script will loop through all files that are suppossed to exist (based on repository data) and compare them to the files you actually have on your webserver.</li>
<li>Section 6 will display a summary of the files and folders checked</li>
</ul>
<a name="versioncheck_description_end"></a>

<a name="versioncheck_options_start"></a>
<h3>3.6.2 Options</h3>
<p>The options screen lets you configure the versioncheck, or rather what is being displayed. The options aren't saved anywhere, so you will have to adjust them each time you run versioncheck. The default options should be OK for most users - only change them if you have good reasons to do so.</p>
<img src="pics/versioncheck_options.gif" width="844" height="159" border="0" alt="" title="" />
<ul>
<li><em>show optional folders/files</em><br />Uncheck this to hide files that are tagged as &quot;optional&quot; (display mandatory files only)</li>
<li><em>show mandatory files</em><br />Uncheck this to hide files that are tagged as &quot;mandatory&quot; (Note disabling both optional and mandatory files will of course result in no files being displayed at all)</li>
<li><em>show additional information</em><br />Toggles whether informaton about the installed coppermine version and the repository connection status are being displayed. Uncheck if your're making screenshots to save space and reduce dimensions.</li>
<li><em>show file versions</em><br />Toggles wether additional version information of a file that belongs to the release version you're using should be displayed. When viewing the source code of a coppermine file, the file version is the number that looks like this: <tt>Id: index.htm,v 1.66 2004/08/26 04:42:19 gaugau Exp</tt> (in this example the file version is 1.66)</li>
<li><em>show folders/files with errors only</em><br />Toggles display of files that don't have errors. Enable this option if you want to make a screenshot and ask for support on the coppermine forum.</li>
<li><em>coppermine is installed in the webroot</em><br />Experimental: if all your files are being displayed as &quot;non-existant&quot;, you probably have installed coppermine in your webroot, or you are using subdomains. Check this option only if you are experiencing problems. This option hasn't been tested thoroughly yet, there's no guarantee it will work on your setup.</li>
<li><em>try connecting to the online repository</em><br />Toggles wether versioncheck should try to connect to the online repository (checked by default). Only uncheck this option if you're sure you can not access the online repository because of your server setup and you want to reduce the time the script needs to execute a bit.</li>
<li><em>show folder permissions</em><br />Toggles the option to show/hide the read/write permissions of a folder.</li>
<li><em>don't display web svn link</em> / <em>display web svn link to stable branch</em> / <em>display web svn link to devel branch</em><br />Toggles wether to show an additional column that contains a link to the web svn. Only recommended if your cpg version is OK (<span style="color:green;font-weight:bold">green</span>), but your file version appears to be outdated. You can then connect to the web svn to get a more recent version of your file. Only recommended if you know what you're doing (or you have been told to do so from a supporter from the coppermine support board).</li>
<li><em>show condensed ouput (for easier screenshots)</em><br />When checked, this options reduces the width of the version comparison columns. This will allow you to create screenshots with reduced dimensions and size.</li>
</ul>
<a name="versioncheck_options_end"></a>

<a name="versioncheck_comparison_start"></a>
<h3>3.6.3 Version comparison</h3>
<p>There is a lot of information packed into a small space. Here's an example of a possible output and what the output means:</p>  <br />
<img src="pics/versioncheck_comparison.gif" width="411" height="279" border="0" alt="" title="version comparison" />
<ul>
<li>The column &quot;icon&quot; shows if the entry is a folder or a file. Clicking on the icon takes you to the page, e.g. clicking on util.php will take you to the &quot;admin tools page&quot; (although not all coppermine files can be opened directly by running them in the browser).<p>In above example, rows &quot;A&quot; to &quot;E&quot; are folders, rows &quot;F&quot; to &quot;K&quot; are files.</p></li>
<li>The column &quot;folder/file&quot; holds the relative path from your coppermine root to the folder/file in question.<br />
<p>If an entry is in your default font color, it exists (in above example, all rows but &quot;G&quot; and &quot;H&quot;).<br />
<p>If the entry is in <span style="color:#FFBE00;font-weight:bold">yellow</span> (row &quot;G&quot;), the corresponding folder/file doesn't exist on your webserver, but it is only considered to be optional (e.g. a language file that comes with the coppermine package that you don't want to use can be deleted from the webserver. It will then be shown in <span style="color:#FFBE00;font-weight:bold">yellow</span>, as it's only optional to have it). It's up to you if you need it.</p>
<p>If the entry is in <span style="color:red;font-weight:bold">red</span> (row &quot;H&quot;), the folder/file in question doesn't exist on your webserver, but it is mandatory to have it. You should upload the file from your coppermine package to your webserver. Only leave it as-is if you really know what you're doing.</p></li>
<li>The column &quot;writable&quot; shows information if the folder in question is writable, and whether this is correct or not. The write permissions for files are not being displayed, as this would slow down the script considerably. Usually, there are icons that show the writable status of your folder (if you have the icon resources on your webspace). Optionally, a plain text message in brackets might be visible (if you don't have the icon resources).
<ul>
<li>A white pencil with a <span style="color:green;font-weight:bold">green</span> &quot;x&quot; indicates that the folder is not writable and is isn't suppossed to be writable - everything is OK then (row &quot;A&quot;)</li>
<li>A <span style="color:green;font-weight:bold">green</span> pencil indicates that the folder is writable and it is suppossed to be writable as well - everything is OK then (row &quot;D&quot;</li>
<li>A white pencil with a <span style="color:red;font-weight:bold">red</span> &quot;x&quot; indicates that the folder is not writable, although it should be (row &quot;C&quot;). You should change write permissions (CHMOD) for this folder and everything within it, usually using your <acronym title="File Transfer Protocol">FTP</acronym> software.</li>
<li>A <span style="color:red;font-weight:bold">red</span> pencil indicates that the folder is writable, but it shouldn't be (row &quot;E&quot;). Unless absolutely necessary, leaving files writable could be a security risk. Where possible, you should change permissions for this folder and everything within it to read/execute only.</li>
</ul>
</li>
<li>A question mark in a yellow box (help icon) indicates that there is additional information available. Click on the icon to display the pop-up window with this information.</li>
<li>The column &quot;cpg version&quot; displays what coppermine package your file on your webserver is from, and what version it should be from. The data is being extracted from the header of the file, that's why folders are shown as &quot;n/a&quot; - they have no header information containing their coppermine version (rows &quot;A&quot; to &quot;E&quot;).
<p>Files that contain header information are being displayed with your file version and the cpg version of the file in the repository, separated with a slash. It is possible that a file version may differ from the version of your whole package - this doesn't matter as long as both your version and the repository versions match (the are displayed in <span style="color:green;font-weight:bold">green</span>) - in above example: rows &quot;F&quot;, &quot;J&quot; and &quot;K&quot;.</p>
<p>Of course, version numbers from files that don't exist can't be extracted, that's why rows &quot;G&quot; and &quot;H&quot; have a dash as cpg version. If your cpg version is lower than the repository version, your version is  being displayed in <span style="color:red;font-weight:bold">red</span>: if this is the case, you probably haven't successfully uploaded the proper file of files from the coppermine package to your webserver (replacing files that may have already existed on your webserver) - you should do so now (row &quot;I&quot;).</p>
<p>If your local version is being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you are using a file that belongs to a higher coppermine version than the rest of your files - you probably downloaded a file from the devel branch: remember that using devel files go unsupported, do so on your own risk (if you know what you're doing). If most or all of your files are being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you probably have upgraded some files, but you forgot to upgrade the file &quot;include/init.inc.php&quot; (that holds the version info for your install). Make sure to upload <strong>all</strong> files  from the package to your server.</p>
</li>
<li>
<p>The column &quot;file version&quot; holds the individual file's version that get's increased during development of a new coppermine version (each time a developer modifies a certain file, the version number increases by one). As folders can't contain such version numbers, they are again labelled as &quot;n/a&quot; (rows &quot;A&quot; to &quot;E&quot;); the same applies to files that don't exist, that's why their file version is displayed as dash (rows &quot;G&quot; and &quot;H&quot;). Also the file version is irrelevant when comparing files from different coppermine packages, that's why row &quot;I&quot; has a dash as well.</p>
<p>The coloring scheme is similar to the cpg version system: <span style="color:green;font-weight:bold">green</span> means &quot;everything is OK&quot;, <span style="color:red;font-weight:bold">red</span> means &quot;you're using an outdated version&quot; and <span style="color:#FFBE00;font-weight:bold">yellow</span> means &quot;you're using a newer version than you're actually suppossed to.</p>
<p>The difference between the cpg version and the file version columns is indicative of the way you should obtain the file that you need to replace the existing one on your server: a <span style="color:red;font-weight:bold">red</span> entry in the cpg version column means the file on your server hasn't been replaced with the file from the coppermine package; a <span style="color:red;font-weight:bold">red</span> entry in the file version column (row &quot;J&quot;) usually means that there have been updates to a certain file after the release of the package - you should either check if there is a newer package available or get the most recent file from the <acronym title="Subversion">SVN</acronym> (enable the web svn link column in the versioncheck <a href="#versioncheck_options_start">options</a>).</p>
</li>
<li>The column &quot;web svn&quot; (off by default) links to the corresponding file in the <acronym title="Subversion">SVN</acronym>. You're recommended to use this only if there appears to be a newer version in the svn than your coppermine package has and you know what you're doing.</li>
</ul>
<a name="versioncheck_comparison_end"></a>
<a name="versioncheck_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />
<a name="downgrading"></a>
<h2>3.7 Downgrading from cpg1.4.x to an older version</h2>
<p>CPG1.4.x incorporates many new features (compared to older versions), so we encourage all users to upgrade. However, there may be some who want to test cpg1.4.x and decide later that they want to go back to an older version. You have to keep in mind that a full upgrade changes the overall layout of coppermine's database that includes converting the encoding to unicode. This process can't be reverted: once you have done the conversion, the only way back is to restore a complete mySQL database dump (of course you have to create this backup <strong>before</strong> you upgraded in the first place). Creating mySQL dumps (backups) is recommended anyway, so you should do so <strong>now</strong>.</p>
<p>If you haven't converted your database to unicode (utf-8) encoding, you can downgrade as explained below. To make this absolutely clear: you can only downgrade if you used to have cpg1.3.x before and upgraded this version to cpg1.4.x without converting the database. If you <em>have</em> converted the database or if you have made a <em>fresh</em> install of cpg1.4.x, you can't downgrade at all!</p>
<p>To actually perform the downgrade, replace all cpg1.4.x files on your server with the files from the older version (as if you were doing an upgrade, see above). You then have to undo some changes in the database structure. To do so, run a query like<br />
<pre>ALTER TABLE `CPG_users` CHANGE `user_location`  `user_profile1` VARCHAR(255);
ALTER TABLE `CPG_users` CHANGE `user_interests` `user_profile2` VARCHAR(255);
ALTER TABLE `CPG_users` CHANGE `user_website` `user_profile3` VARCHAR(255);
ALTER TABLE `CPG_users` CHANGE `user_occupation` `user_profile4` VARCHAR(255);</pre><br />
using a tool like <a href="http://www.phpmyadmin.net/" rel="external" class="external">phpMyAdmin</a>, replacing <tt class="code">CPG_</tt> in the query with the prefix you have chosen during coppermine install.</p>
<a name="downgrading_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="administration"></a>
<h1>4. Configuration &amp; Administration</h1>

<h2>4.1 Categories, albums and files<a name="cat_alb_pic"></a></h2>
<p>The Coppermine Photo Gallery (CPG) works in the following way:</p>
<ul>
  <li>Files are stored in albums</li>
  <li>Albums are organised in categories</li>
  <li>Categories can be nested (into subcategories)</li>
</ul>

<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>

<p><a class="back" href="#top">Back to top</a></p><hr />

<h2>4.2 Admin mode &amp; User mode<a name="admin_user_mode"></a></h2>
<p>When you are logged in as an administrator, the script provides two modes of operation : Admin mode &amp; User mode. You can switch between Admin &amp; User mode by clicking on the corresponding link in the menu bar at the top of the screen.</p>
<p>When you are in admin mode, you can administer your gallery using the menu bar that appears when in admin mode, as shown below :</p>
<p><a name="admin_menu"></a><img src="pics/admin_menu.gif" border="0" alt="Admin menu" /></p>
<p>When you are in user mode you are still logged in as an admin user, but the admin controls (the admin menu bar etc.) are hidden from the screen to give you a basic preview of what the page would look like for "regular users". However (as you still are logged in as admin), certain permissions and options in user mode will still look the same as if you were in admin mode; you can <strong>not</strong> use "<em>User Mode</em>" to see what a non-admin user is actually allowed to see.  To see what a casual visitor can see and do on your site, simply log out.  To see what a registered user can see and do on your site, create a test user account (non-admin) and log in with this particular user (when doing this it is recommended that you use two different browsers, NOT  two instances of the same browswer, to view your site so you can stay logged in as admin on one and view what regular users see while making changes in admin mode. You will have to refresh the non-admin mode screen to see what changes you incorporated).</p>
<p>The items in the admin menu should be pretty self-explanatory:</p>
<ul>
  <li><strong>Upload approval</strong><br />See all pics that await approval by the admin (if you set admin approval as a required step on the settings in the &quot;<a href="#group_cp">groups</a>&quot; control panel)</li>
  <li><strong>Config</strong><br />Configure the overall look of your gallery and the settings using the &quot;<a href="#admin">Config</a>&quot; button in the admin menu (note: you can not access the configuration by manually entering the url of the config file)</li>
  <li><strong>Categories</strong><br />Create/edit/delete <a href="#cat_cp">categories</a></li>
  <li><strong>Albums</strong><br />Create/edit/delete <a href="#albmgr">albums</a></li>
  <li><strong>Groups</strong><br />Create/edit/delete <a href="#group_cp">groups</a></li>
  <li><strong>Users</strong><br />Create/edit/delete <a href="#user_cp">users</a></li>
  <li><strong>Ban Users</strong><br />Ban users based on hostname or IP address. Make sure not to ban yourself! Use this feature with extreme caution, as most users today do not have static IP addresses, this feature should only be employed if you really know what you're doing.<br />
  <span class="small">[cpg1.3.0 or better required]</span>
  </li>
  <li><strong>Review Comments</strong><br />edit/delete user's comments</li>
  <li><a name="ecard_log"></a><strong>Display Ecards</strong><p>View the ecards sent by users.</p>
  <p>You must have ecard-logging enabled in the config menu, first (by default, logging is disabled). When enabled, all ecards that are being sent are written into the database, where the coppermine admin can view them.</p>
  <img src="pics/ecard_log.gif" border="0" alt="" /><br />
  You can sort the log by clicking on the arrow icons next to each heading, and you can delete single or multiple log entries (deleting the log entries will not disable the ecard recipient to view the ecard).<br />
  <p>Before switching this option on, make sure that logging such information is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
  <span class="small">[cpg1.3.0 or better required]</span>
  <a name="ecard_log_end"></a>
  </li>
  <li><strong>Sort my pictures</strong><p>Picture manager that can be used to custom-sort files within an album. By default, the thumbnail page that displays the contents of an album will be sorted by the sorting order specified in &quot;<a href="#admin_thumbnail_default_sortorder">Default sort order for files</a>&quot; on the config page. The "sort my pictures" option overrides the default sorting mechanism and displays the thumbnails in the order you specify. As this means an additional effort in the maintenance of each album, it's recommended to use the default sorting by filename and (instead of specifying a custom sort order) and naming the files appropriately before upload.</p>
  <p>Note: each user (including the admin) can use the sorting controls on the album's thumbnails display page to manually override the sorting option that was specified in coppermine's config and the "Sort my pictures" option; this final method of changing the sort order is stored locally in a cookie of the client and reverts to the config settings when this cookie is discarded.</p></li>
  <li><strong>Batch add files</strong><br /><a href="#batch_add_pics">Batch-add files</a> to the coppermine database that have been previously uploaded by FTP. Batch-add files does not upload files for you. You must upload files using your webhost's file manager or an FTP client software. You FTP files into folders that you create in the coppermine album directory.  You must not, however, create these folders in the <em>userpics</em> folder.</li>
  <li><a name="admin_tools"></a><strong>Admin Tools (Resize Pictures)</strong><br />A collection of utilities to:
        <dl>
      <dt>Rebuild or resize intermediate pictures and thumbnails.</dt>
      <dd><img src="pics/util_re-size.gif" alt="" border="0" /><br /><p>Use this if you have changed the settings for thumbnail or intermediate images in config, or if you have to replace corrupt versions.</p><p>Select the radio button for this action, then choose to rebuild the thumbnails, intermediates, or both.</p><p>This uses a lot of server resources, so if you experience timeout issues, try setting it to process smaller batches ( 45 is the current default ).</p></dd>
      <dt>Delete full-size pictures.</dt>
      <dd><p>Use this to save space on your webspace.</p><p>When selected, Coppermine checks to see if an intermediate copy exists, and if it does, it deletes the original sized picture, then re-names the intermediate. If no intermediate exists, Coppermine leaves the original in place.</p></dd>
      <dt>Delete orphaned comments.</dt>
      <dd>Sometimes, when pictures have been deleted, any comments associated with them remain in the database.  Use this to remove them from the database entirely.</dd>
      <dt>Rename file titles.</dt>
      <dd>Use this to re-name the title of all files in an album, using info from the filename.</dd>
      <dt>Delete file titles.</dt>
      <dd>Use this to clear the file titles from one or more albums.</dd>
      <dt>View your server php info.</dt>
      <dd><p>If, you after following the troubleshooting guides in the documents provided here, you are still having problems with your coppermine installation, these problems are sometimes caused by a misconfigured server setup.  Clicking this link will provide you with all your php and mySQL settings, as well as information on the GD library (if installed).  The information may be required by the support team, if you are unable to sort problems yourself.</p><p>It is not possible for visitors to your site to access this information, so if asked for it, copy and paste it on the support board. Do not post this information or any debug information unless requested first.  You may post <em>ERROR</em> messages verbatim, but refrain from posting <em>warning</em> messages.  </p></dd>
      <dt>Run a database update (update.php).</dt>
      <dd>After an update/upgrade, it is usually necessary to run update.php.  This can be done by typing the address directly into your browser, or by clicking this link.<a name="admin_tools_end"></a></dd>
          </dl>
  </li>
  <li><strong>My profile</strong><br />Edit your own user profile</li>
</ul>
<p>In previous beta versions of cpg1.4.x there used to be an admin mode and user mode for &quot;regular registered&quot; users, somewhat like those for the true administrator. This feature has been removed as it was both confusing for end users and really didn't serve any special purpose.</p>
<p>The user with upload permissions has the following admin options:</p>
<ul>
  <li><strong>Create / order my albums</strong><br />similar to album manager in admin mode, the user can create albums within his user gallery</li>
  <li><strong>Modify my albums</strong><br />The user can edit album title and description (similar to &quot;<a href="#album_prop">album properties</a>&quot; for the admin, but the user can't move his albums to other categories)</li>
  <li><strong>My profile</strong><br />The user can edit his profile (changing passwords, edit location, interests, home page and occupation properties, view quota usage). When integrated with a bbs service, the &quot;My profile&quot; link will send the user to the bbs's profile page. </li>
</ul>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="group_cp"></a><h2>4.3 The group control panel</h2>
<p><img src="pics/group_cp.gif" width="638" height="232" border="0" alt="" /></p>
<p>This is where you define what members of a user <em>group</em> can and can't do.</p>
<p>The disk quota applies only for groups where &quot;<em>Personal gallery</em>&quot; has been set to &quot;<strong>Allowed</strong>&quot;. Both files uploaded by a user in his personal gallery as well as files uploaded to public galleries are included in the quota.</p>
<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do. Quota and &quot;<em>Personal gallery</em>&quot; are meaningless for anonymous users.</p>
<a name="group_cp_permissions"></a>
<p><em>Permissions</em> control what the user is allowed to do in the gallery (Rating/Sending Ecards/Posting Comments).</p>
<p>Bear in mind that if a user is a member of a group where &quot;<em>Rating</em>&quot;, &quot;<em>Comments</em>&quot; or &quot;<em>Public albums upload</em>&quot; is set &quot;<em>YES</em>&quot;, s/he will have the right to perform these operations only in albums where they are allowed. ( ie. uploading files will only be possible in albums where &quot;<em>Visitors can upload files</em>&quot; has been set to <em>YES</em>.)</p>
<a name="group_cp_permissions_end"></a>
<a name="group_cp_personal"></a>
<p>If &quot;<em>Personal gallery</em>&quot; is set to <em>Allowed</em>, the members of the group will be able to have their own gallery in the &quot;<em>User galleries</em>&quot; category where they will be able to create their own albums.</p>
<p>If &quot;<em>Approval</em>&quot; is set to <em>NO</em>, files uploaded by members of the group in albums created in their own gallery won't need to be approved by the admin. If &quot;<em>Approval</em>&quot; is set to <em>YES</em>, the users in the particular group will be able to upload, however the uploaded files will only be shown after the admin (you) has approved them.</p>
<a name="group_cp_personal_end"></a>
<p>The group control panel enables you to control the upload parameters of any group.</p>
<a name="group_cp_upload_method"></a>
<p><em>Upload method</em> lets you select the type of upload method that a particular group may use. Four forms or methods are currently available.</p>
<ul>
<li><strong>Single file uploads only</strong> - Users of this group may not use advanced uploading features. They may upload one file at a time. To enable single file uploads only, set <em>File upload boxes</em> to &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; and <em>No. of boxes</em> to &quot;fixed&quot;</li>
<li><strong>Multiple file uploads only</strong> - Users of this group may upload multiple files at one time. To enable multiple file uploads, set <em>File upload boxes</em> to any number higher than &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; - it's up to you to let users configure the <em>No. of boxes</em>, but it's recommended to set it to &quot;fixed&quot; to avoid confusion and to limit the load on your server should several users try to upload simultaneously. You can set the number of file upload boxes to any number from 0 to 10 (5 is the default).</li>
<li><strong>URI uploads only</strong> - The group may only upload files using URIs. Acceptable URIs must begin with 'http://' or 'ftp://'. To enable URI uploads only, set <em>File upload boxes</em> to &quot;0&quot;, <em>URI upload boxes</em> to &quot;1&quot; or higher.</li>
<li><strong>File-URI</strong> - Users of this group may upload files using file upload boxes and URIs. To enable both file and URI uploads, set <em>File upload boxes</em> to &quot;1&quot; or higher, <em>URI upload boxes</em> to &quot;1&quot; or higher</li>
</ul>
<p><em>No. of boxes </em> set to &quot;variable&quot; allows the user to select the number of upload boxes for an upload. Usually, you will leave this option set to &quot;fixed&quot;, as it presents the user with an additional step in the upload wizard that is not necessary.</p>
<p><em>File upload boxes</em> controls the number of file upload boxes presented to the user. If the user may customize the number of boxes (<em>No. of boxes </em> set to &quot;variable&quot;), this setting serves a maximum limit for the number of boxes he may request. Otherwise, this setting determines the number of boxes that will appear on the upload form.</p>
<p><em>URI upload boxes</em> is the same type of control as <em>File upload boxes</em>, but it controls the presentation of URI upload boxes.</p>
<a name="group_cp_upload_method_end"></a>
<p><strong>Please note</strong>: on unbridged installs (or standard, stand-alone coppermine installs), the group "banned" feature really doesn't accomplish much. A user who is member of this group is still able to log in and view pics, he's just not able to upload, rate, send ecards or post comments. If you truly want to place a full ban on someone you should use the "banning" feature (which isn't group-based but individually based), instead.</p>
<a name="group_cp_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="user_cp"></a><h2>4.4 The user control panel</h2>
<p>The user control panel can be found when clicking "users" from the admin menu. It is the place where you create and manage your users.</p>
<p><span class="important">If you have enabled integration (bridging) Coppermine with another application (e.g. your favorite BBS app), Coppermine will use the member table of the application you bridged with (your BBS), so the built-in Coppermine user management will be disabled in favor of the user management that comes with the bridged application. This has been incorporated to eliminate redundancy and facilitate a seemless integration.</span></p><p>As a result, you will not have this user control panel; clicking the "users" link will send you to your bridge application's user management instead.</p>
<img src="pics/usermgr.gif" width="600" height="550" border="0" alt="" title="user control panel" /><br />
<a name="user_cp_page"></a><h3>4.4.1 Page controls</h3>
<ul>
<li>You can sort the user management display by either clicking the arrow icons (<img src="../images/ascending.gif" width="9" height="9" border="0" alt="" title="ascending" /><img src="../images/descending.gif" width="9" height="9" border="0" alt="" title="descending" />) next to each column header or by choosing the sort order from the dropdown at the top right.</li>
<li>If you have more than 25 users, a page tab will apear at the bottom right of the screen, allowing you to go to subsequent pages of your member list</li>
<li>Clicking on a user's name will <strong>display</strong> the profile page of the individual user (read only)</li>
<li>The edit icon (<img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />) will send you to the user's profile in <strong>edit</strong> mode - you can change the password, email account and other user-related settings there</li>
<li>If a user has uploaded any files, a link of "recent uploads" will show up next to his name. Clicking on this link will display files that have been uploaded by that user</li>
<li>The &quot;group&quot; column displays the primary member group the user is in</li>
<li>The column &quot;Registered on&quot; will show the date that the user account was created</li>
<li>The &quot;Last visit&quot; column will show the last login of the user. <br />Note: if the user has ticked the checkbox &quot;Remember me&quot; on the login screen, he will not have to login every time he visits the gallery so this date may be accurate.</li>
<li>The &quot;Files&quot; column displays how many files the user has uploaded to date (including those that are awaiting admin approval)</li>
<li>The &quot;Space used&quot; column shows how much of the space that is assigned to the user has already been used. The total space the user is allowed to have ("Space Quota") depends on the user's group - which you set in the <a href="#group_cp">groups panel</a>.</li>
<li>You can change a number of settings for several users at once by clicking the checkbox in front of the user row (use the checkbox at the very top or bottom of the page to select/unselect all users on the page) and then chosing an action to perform from the dropdown box "With selected" at the bottom left of the page. The actions you can choose from are &quot;Delete&quot;, &quot;Deactivate&quot;, &quot;Activate&quot;, &quot;Reset password&quot;, &quot;Change primary membergroup&quot; and &quot;Add secondary membergroup&quot;. The user currently logged on (you as gallery admin) has no checkbox to avoid accidental deletion or deactivation of your own admin account.</li>
</ul>
<a name="user_cp_page_end"></a>
<a name="user_cp_search"></a><h3>4.4.2 Searching for user(s)</h3>
<p>You can use the wildcards:  <tt class="code">*</tt> (for any <em>string</em>) and <tt class="code">?</tt> (<em>any single character</em>) or even <tt class="code">%expression%</tt>.<br />Example: searching for <tt class="code">j*</tt> will return both <tt class="code">Jack</tt> and <tt class="code">Jill</tt></p>
<a name="user_cp_search_end"></a>
<a name="user_cp_new"></a><h3>4.4.3 Creating new users</h3>
<p>To create a new user, simply click on the button "Create new user" at the bottom of the user manager and fill in the form that will come up.</p>
<p>This does of course not apply if you have bridging enabled, as user management is being handled by the app you have bridged coppermine with. In this case, the user management screen of your bridged app should show - create a new user there.</p>
<a name="user_cp_new_end"></a>
<a name="user_cp_edit"></a><h3>4.4.4 Editing users</h3>
<p><img src="pics/usermgr_edit.gif" width="295" height="326" border="0" alt="" align="right" />To edit the properties of a user, click the <img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />-button next to the user name. You will then find a page where you can modify all user profile fields the user has. This includes the option to change the password of that user. If you don't want to change a user's password, leave the password field blank.<br />
The dropdown list determines the primary group the user is in, the checkboxes beneath it determine the secondary groups.</p>
<p>Please note that this screen (as well as the rest of Coppermine's user management) will not be available if you have enabled <a href="#integrating">bridging</a>, because then the user management of the application you have bridged with (e.g. your BBS) kicks in and handles everything related to user management.<br />
The button "Album permissions by group" can <em>not</em> be used to set permissions, but only to <em>view</em> them. You can set permissions using the <a href="#album_prop">album properties</a> screen.</p>
<a name="user_cp_edit_end"></a>
<a name="user_cp_group"></a><h3>4.4.5 Group membership</h3>
<p>When creating a new user or editing an existing user, you will notice a row named &quot;User group&quot; - it determines what group(s) the user is in.<br />
The first field (a dropdown field) determines the primary user group. It determines the status of a user. You should set it to &quot;Administrator&quot; (for users you want to assign admins powers to) or &quot;Registered&quot;.<br />
Additional (secondary) group membership can be assigned using the checkboxes beneath the dropdown field. Here, all your custom groups (that you can create and manage using the <a href="#group_cp">group control panel</a>) should show as well as the core groups (the ones that come with coppermine out of the box and can't be deleted). Assign additional group membership to your users here. Privileges for a particular user inherited from group membership are added: the least restrictive permissions are taken into account.</p>
<p>Example: if you want your registered users to be capable of viewing the gallery only, and only privileged users of your custom user group "photographers" are allowed to actually upload files, make all your users members of the built-in group "registered" (by default, they already are). Only for user you want to give the privilege to upload, tick the check box "photographers" as secondary group. Then go to your groups control panel and disallow uploads for the registered group there, but allow uploads for the custom group "photographers".</p>
<p class="important">Note: the button "album permission by group" beneath the checkboxes is <strong>not</strong> meant to <strong>assign</strong> album permissions, but only to <strong>check</strong> the permissions set. You can only assign particular album permissions on the <a href="#album_prop">album properties</a> screen.<br clear="all" /></p>
<a name="user_cp_group_end"></a>
<a name="user_cp_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="cat_cp"></a><h2>4.5 The categories control panel</h2>
<p><img src="pics/category_cp.gif" border="1" alt="" /></p>
<p>This panel allows you to edit your categories.</p>
<ul>
<li>The <img src="pics/edit.gif" border="0" width="16" height="16" alt="" /> button
allows you to edit the title, description and parent category of an
existing cetegory.</li>
<li>The <img src="pics/delete.gif" width="16" height="16" alt="" /> button
allows you to delete a category. Deleting a category does not delete the
albums and files it contains. These are moved to the &quot;Root&quot;
category if it is a subcategory that is deleted or to the root of the category list if it is a parent category that is deleted..</li>
<li>The <img src="pics/up.gif" width="16" height="16" alt="" /> and <img
src="pics/down.gif" width="16" height="16" alt="" /> buttons allow you to
order your categories.</li>
<li>The &quot;<strong>Move into</strong>&quot; dropdown lists allow you to change the parent
of a specific category. </li></ul>
<p>&quot;<strong>User galleries</strong>&quot; is a special category. It is not visible unless
you have some users that have created their own gallery. It can't be
deleted but you can edit its title and description by using the <img
src="pics/edit.gif" width="16" height="16" alt="" /> button. </p>
<p>You can specify how you want categories sorted in coppermine: alphabetically (instead of a customized order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is available both in coppermine config and the category manager. If you enable alphabetical sorting, the move up and move down arrows that normally let you manually sort the categories will disappear. Disable this feature if you want to organize your categories in some other order.</p>
<p>You can only assign a picture to the category only if you have an album with images nested directly within it.</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="albmgr"></a><h2>4.6 The Album Manager</h2>
<p><img src="pics/albmgr.gif" width="360" height="288" border="0" alt="" title="Album Manager" /></p>
<p>Coppermine stores files inside of albums, so you'll need at least one album for your pictures/files to be placed in. Albums can be stored in categories (but they don't <em>HAVE</em> to be in a category, they can just as well go into the coppermine &quot;root&quot;).</p>
<p>When you click on &quot;albums&quot; in the admin menu, you will see the <em>Album Manager</em>.</p>
<h3><a name="albmgr_create"></a>4.6.1 Creating albums</h3>
<ul>
<li><strong>Choose a category from the dropdown list</strong> &quot;Select category&quot; and highlight the selection where you would like your album to reside in. (or choose &quot;* No category *&quot; if the album should go into the coppermine &quot;root&quot;). If you haven't created a category yet, go to the <a href="#cat_cp">categories control panel</a> first. Or, you can proceed with these steps to first create an album and move the album into a category later.  You can also perform this moving task by using the <a href="#album_prop">album properties</a> page.</li>
<li><strong>To create an album, click on the &quot;New&quot; button</strong> - a new album will appear on the list, by default this album is labelled &quot;New album&quot;</li>
<li><strong>Click on the text input field at the bottom of the screen</strong>, highlight the default name &quot;New album&quot; </li>
<li><strong>Then type in the album name you want to use</strong></li>
<li>(repeat steps 2 through 4 to add additional albums)</li>
<li><strong>Click &quot;Apply modifications&quot;</strong> to submit your changes to the database. failure to do so will result in the loss of all the changes you just made.  You can always return to this panel to edit and change album names, sort them within their parent category, and/or move them to different parent categories.</li>
<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
</ul>
<h3><a name="albmgr_rename"></a>4.6.2 Renaming albums</h3>
<ul>
<li><strong>Choose a category from the dropdown list</strong></li>
<li><strong>Click on the album you want to change</strong></li>
<li><strong>Click on the text input filed at the bottom of the screen</strong>, highlighting the album name</li>
<li><strong>Type the album name you want to assign</strong></li>
<li><strong>Click &quot;Apply modifications&quot;</strong></li>
<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>

</ul>
<h3><a name="albmgr_order"></a>4.6.3 Changing the album order</h3>
<ul>
<li><strong>Choose a category from the dropdown list</strong></li>
<li><strong>Click on the album you want to move up or down in the list</strong></li>
<li><strong>Use the arrow buttons to move the album up<img src="../images/move_up.gif" width="26" height="21" border="0" alt="" title="move the album up" /> or down<img src="../images/move_down.gif" width="26" height="21" border="0" alt="" title="move the album down" /></strong></li>
<li><strong>Click &quot;Apply modifications&quot;</strong></li>
<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>

</ul>
<h3><a name="albmgr_delete"></a>4.3.4 Deleting albums</h3>
<ul>
<li><strong>Choose a category from the dropdown list</strong></li>
<li><strong>Click on the album you want to delete</strong></li>
<li><strong>Click the &quot;Delete&quot; button</strong></li>
<li><strong>Confirm the alert box with &quot;OK&quot;</strong> (<em>Are you sure you want to delete this album ? All files and comments it contains will be lost !</em>)</li>
<li><strong>Click &quot;Apply modifications&quot;</strong></li>
<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>

</ul>
<a name="albmgr_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<h2>4.7 Modifying albums/files<a name="modif_alb_pics"></a></h2>
<p>When you are in admin mode there is a menu displayed next to each album</p>
<p></p>
<p><img src="pics/album_menu.gif" border="1" alt="" /></p>
<p><strong>Delete</strong> allows you to delete the album and <strong>(CAUTION</strong>) all files within it.</p>
<p><strong><a href="#album_prop">Properties</a></strong> allows you to modify the name, description and permissions of the album</p>
<p><strong><a href="#edit_pics">Edit files</a></strong> allows you to modify the title/caption/keywords etc... of the files in the album</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="album_prop"></a><h2>4.8 Album properties</h2>
<p><img src="pics/edit_album.gif" width="508" height="466" border="0" alt="" /></p>
<p>The "Album category" drop down list allows you to move an album from one category to another. If you set this to &quot;* No category *&quot; then the album will be displayed on your main page.</p>
<p>Use <a href="#bbcode">bbcode</a> to add links and additional formating to your  descriptions.</p>
<p>The thumbnail option lets you select the picture that will represent the album in the album list. Do not assign a picture here if you would like the album to select images randomly.</p>
<p>If you have set &quot;Users can can have private albums&quot; to YES on the <a href="#admin">config page</a>, you can determine who will have permission to view the files of this album.</p>
<p>When &quot;visitors can upload file&quot; is set to YES, it is possible for them to upload files into albums by enabling this permission.</p>
<a name="album_prop_visitor_start"></a>
<p><strong>Note that only visitors who are members of a <em>group</em> for which the setting &quot;Can upload pictures&quot; is set to YES.</strong> Members not in the permitted group will not be able to upload files into such an album. Non-registered users are members of the &quot;Anonymous&quot; group. </p>
<p>The same rules as above apply for &quot;Visitors can post comments&quot; and &quot;Visitors can rate files&quot;.</p>
<a name="album_prop_visitor_end"></a>
<a name="album_prop_keyword_start"></a>
<p>In 1.4.x the <strong>Album Keyword</strong> is <em>no</em> longer being used for searching purposes, but, rather, to link images from other album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver.  You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words.  If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.)  Each album can only have ONE (1) keyword or keyword phrase.  All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields.  Pictures, unlike albums can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums.  For the visitor of these albums, it will appear as if the file/image had been uploaded to each. </p>
<a name="album_prop_keyword_end"></a>
<a name="album_prop_password_start"></a>
<p><strong>Album Password</strong>: you can specify an album to be password-protected (instead of relying on the "regular" group-based permissions). This way, you can even allow access for unlogged users (guests) who you provide the password to. Use this option, for example, to set up an album for your family members only by specifying a password that only they can come up with answering an additional password hint (e.g. "<em>What was the maiden name of aunt Emma?</em>"), or you could decide to send the particular password to specific friends, family or business associates by email. The optional <strong>password hint</strong> will be displayed at the password prompt, when set.</p>
<p>Note: when setting an album password, the permission dropdown field "<em>Album can be viewed by</em>" will be switched automatically to "<em>me only</em>" - this is expected behaviour. If you change the "<em>Album can be viewed by</em>" to another selection, you must disable the album password as well.</p>
<a name="album_prop_password_end"></a>

<a name="album_prop_reset_start"></a>
<h3>4.8.1 Reset album properties</h3>
<img src="pics/modifyalb_reset.gif" width="436" height="148" border="0" alt="" />
<p>You can reset the number of views count and total ratings in the album properties panel and even delete all pics at once in the sub-section &quot;Reset album&quot; by ticking the desired checkboxes and then submitting the form. To prevent accidental resets, you will have to place a tick on the checkbox &quot;I'm sure&quot; before changes can be submitted (the button will be greyed out (disabled) if you don't).</p>
<p>Use these options with care: the deleting of files is irreversible, as well as the reset of views and ratings (you can only restore views and ratings by manually editing coppermine's database entries with third-party tools like <a href="http://www.phpmyadmin.net/" class="external" rel="external">phpMyAdmin</a> - not recommended).</p>
<a name="album_prop_reset_end"></a>
<a name="album_prop_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="edit_pics"></a><h2>4.9 Editing files</h2>
<p><img src="pics/edit_picture.gif" width="696" height="314" border="0" alt="" /></p>
<p>Use this link to modify your file's title, description, keywords, and custom fields (if they are used).</p>
<p>Use the album drop down menu in the panel to move the file between albums.
Use keywords to link files to other albums (see description in the albums section above).</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<h3>4.9.1 Editing videos<a name="edit_vids"></a></h3>
<p><img src="pics/edit_video.gif" border="0" alt="" /></p>
<p>Here, you can modify the title, description, keywords, and custom fields (if they are used) of your video files.</p>
<p>Use the album drop down menu to move the video to another album.</p>
<p>Use the height and width fields to set the size of the video.</p>
<p>Video uploads are possible beginning with cpg1.3.0 (or latter) and are included as part of the distribution package. For cpg1.2.1 you must install a separate modification.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<h3>4.9.2 Custom Thumbnails<a name="cust_thmb"></a></h3>
<p><img src="pics/cust_thmb.gif" border="1" alt="" /></p>
<p><strong>Order of thumbnails:</strong><br />
<strong class="important">Thumbnails are defined by different levels (these are: user-defined, theme-defined, global) then in the order of their type (file-specific, extension-specific, media-specific).</strong> User-defined thumbnails are stored in the folder where the parent file is located. Theme-defined thumbnails are stored in the themes 'images' folder. Global thumbnails are stored within the 'images' folder of the Coppermine root. <strong class="important">Thumbnails can be one of the following file types: 'gif', 'png', or 'jpg'.</strong></p>
<p><strong>Types of thumbnails:</strong><br />
<strong class="important">File-specific thumbnails must have the same base name as the file.</strong> Using the above screenshot of a video file as an example, the thumbnails for this file could be 'thumb_<strong>thailand_waterfall</strong>.gif', 'thumb_<strong>thailand_waterfall</strong>.png', or 'thumb_<strong>thailand_waterfall</strong>.jpg', and searched for by cpg in that order.</p>
<p><strong class="important">Extension-specific thumbnails are named after the extension of the file.</strong> (Examples: 'thumb_wmv.jpg', 'thumb_wav.jpg'.)</p>
<p><strong class="important">The base name for media-specific thumbnails are 'thumb_movie', 'thumb_document', and 'thumb_audio'.</strong> Images use file-specific thumbnails by default.</p>
<p><strong>Uploading:</strong><br />
There are 2 ways to upload custom thumbnails:</p>
<p>1. Have an image already uploaded then upload a video via the upload page. (or vice versa) The video will share the thumbnail of the image.<br />
</p><br /><br />
<p><img src="pics/cust_thmb_3.gif" border="1" alt="" /></p>
<p>2. FTP upload both the video and (thumbnail or image) then <a href="#batch_add_pics">batch-add</a>. If you FTP upload the thumbnail, the thumbnail will be display in the batch add page instead of the default Coppermine thumbnail. If you upload an image it will look like the above screenshot. However, when the both files are added to the database, the thumbnail of the image will be used by the video.</p>
<br /><br />
<p><img src="pics/cust_thmb_final.gif" border="1" alt="" /></p>
<p>Final result.</p>
<p>Note: If the first method is used and the image later deleted, the thumbnail will also be deleted and the default Coppermine thumbnails will be displayed, instead.<br />
If a previously uploaded video is to be uploaded again, via FTP, the accompanying thumbnail must also be uploaded, via FTP, to the same folder.</p>
<p>Video uploads are permitted from verstion 1.3.0 of cpg (or better) and are included as part of the distribution package. For cpg1.2.1, this option is only available as a separate modification. The use of custom thumbnails aren't supported in versions prior to 1.3.0. <strong class="important"> NOTE: Using the above instructions, a custom thumbnail can be applied to any file, not just videos.</strong>
</p>
<p><strong>FAQS:</strong></p>
<ul>
<li><strong>Quote</strong><br /><div class="quote">I have a video named <strong>'movie.wmv'</strong>, when I upload a thumbnail for it <strong>'thumb_movie.jpg'</strong> it replaces the thumbnails for multiple videos!!!!</div>
Duhh. <strong>'thumb_movie.jpg'</strong> is a <em>media-specific</em> thumbnail. Rename the video and the thumbnail with something other than just <strong>'movie'</strong>.</li>
<li><strong>Quote</strong><br /><div class="quote">I can't find my user's folder!</div>
From within Coppermine, browse to the user's album. Look in the url of your browser and you should see the folder's name. (See screenshot for an example.)<br />
<img src="pics/user_folder_link.gif" alt=""/><br />
Your users can upload their own thumbnails by using this trick: Create an album. Change the permissions on it so no one can view it except that specific user. Then upload the fullsized images of the thumbnails to this folder. Files outside this album will be able to use the thumbnails of these images. (See above for naming.)</li>
<li><strong>Quote</strong><br /><div class="quote">How do I stop my users from creating their own custom thumbnails?</div>
Currently, this is not possible.</li>
</ul>

<p class="small">[cpg1.3.0 or better required]</p>
<a name="edit_pics_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />


<a name="bbcode"></a>
<h2>4.10 Using bbcode to insert links and special formatting in various description fields</h2>
<p>Coppermine understands the following bbCodes (the same bbCodes that are used by phpBB and many other BBS apps) in image and album description</p>
<ul>
  <li><tt class="code">[b]Bold[/b]</tt> =&gt; <strong>Bold</strong></li>
  <li><tt class="code">[i]Italic[/i]</tt> =&gt; <em>Italic</em></li>
  <li><tt class="code">[url=http://yoursite.com/]Url Text[/url]</tt> =&gt; <a href="http://yoursite.com">Url Text</a></li>
  <li><tt class="code">[email]user@domain.com[/email]</tt> =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li>
  <li><tt class="code">[color=red]some text[/color]</tt> =&gt; <span style="color:red">some text</span></li>
  <li><tt class="code">[img]http://coppermine.sf.net/demo/images/red.gif[/img]</tt> => <img src="../images/red.gif" border="0" alt="" /></li>
</ul>
<a name="bbcode_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="ftp"></a><a name="uploading"></a>
<h2>4.11 Uploading pics/files</h2>
<p>There are several methods to upload files within Coppermine. You (as gallery admin) should use <a href="#batch_add_pics">FTP-upload plus batch-add</a> (only the admin can do this). Regular users are supposed to use the "regular" <a href="#upload_http">http upload</a> or (if they have Windows XP) the <a href="#xp">XP Publisher</a>.</p>
<a name="uploading_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="ftp"></a><a name="batch_add_pics"></a>
<h3>4.11.1 Uploading pics by FTP / Batch-Add Pictures</h2>
<p>It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within <em>your_coppermine_directory/albums/</em>, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the <em>albums</em> folder that reflects or mirrors your coppermine categories and albums.</p><p><span class="important">Important</span>: do not create folders or ftp upload to the <em>userpics</em>- nor to the <em>edit</em>-folder by ftp: these folders are used by coppermine internally and must not be used for any other purpose! <strong><strong>Folder names must not contain dots</strong></strong>. We also highly recommend refraining from the use of any other special characters - use only a-z, numbers and <tt class="code">-</tt> (dashes) or <tt class="code">_</tt> (underscores) to fill blank spaces. Make sure to upload in binary or auto-mode.</p>
<p>Once you have uploaded your photos by ftp, click on the &quot;Batch Add Pictures&quot; button. The batch-add is performed in three steps:</p>
<ul>
<li>find the directory under which you have uploaded your photos. Select this directory by clicking on it.
<br /><img src="pics/searchnew_1.gif" border="0" alt="" /><a name="ftp_select_dir_end"></a></li>
<li><a name="ftp_select_file"></a>select the photos you wish to upload (by ticking them).  New pics are automatically pre-selected, those that already are in your coppermine database are not selected. Next select thee album you wish to insert them into. Click &quot;Insert Selected Pictures&quot; to start the batch-add process.<br />
<img src="pics/searchnew_2.gif" border="0" alt="" /><a name="ftp_select_file_end"></a></li>
<li><a name="ftp_show_result"></a>CPG will then display the results of the batch-add (allow some time for all results to display).<br />
If the OK, DP, or PB 'signs' does not appear, click on the broken file image to see if any error message was produced by PHP.<br />
Should your browser time out, hit the reload button.
<ul>
<li>OK : means that the file was succesfully added</li>
<li>DP : means that the file is a duplicate and is already in the database</li>
<li>PB : means that the file could not be added, check your configuration and the permission of directories where the files are located</li>
<li>NA : means that you haven't selected an album the files should go to, hit 'back' and select an album. If you don't have an album create one first</li>
</ul>
<a name="ftp_show_result_end"></a>
</li>
</ul>
<p>Giving FTP-access to other users can pose a serious security threat, this is why batch-add is only available for the coppermine gallery admin.</p>
<p>Once files have been added to coppermine's database, make sure that you never rename or delete them via ftp - use coppermine's admin menu options to remove or rename files, instead.  Only in this way will these files be removed from both the file system <strong>and</strong> the database.</p>
<a name="ftp_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="upload_http"></a>
<h3>4.11.2 Uploading by HTTP</h3>
<p>Regular HTTP uploads use the browser's built-in capabilities to upload files to a server. The maximum file size is determined by two basic factors: the speed and amount of data the web-browser can upload before timing out, and the allowed file size determined by server settings. Note that those settings are not determined by coppermine, but the server config (php.ini). Users who are webhosted usually can't edit php.ini, so they will have to live with the settings the webserver admin has set up. Those who actually run their own server and can edit php.ini should take a look at the settings if (large) http uploads fail:</p>
<ol>
<li><strong>max_input_time</strong>- 60 seconds is the default time limit for uploading files.<br />
This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.</li>
<li><strong>upload_max_filesize</strong> - 2MB is the default limit for individual files.</li>
<li><strong>post_max_size</strong> - 8MB is the default limit for post requests.</li>
<li><strong>memory_limit</strong> - 8MB is the default size.</li>
<li>PHP's <strong>LimitRequestBody</strong> - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)<br />
In general, upload_max_filesize &lt; post_max_size &lt; memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.</li>
<li><strong>file_uploads</strong> - This determines whether or not PHP will allow file uploads. It must be set to 'On'.</li>
<li><strong>upload_tmp_dir</strong> - This specifies the temporary directory where PHP stores uploaded files.<br />
The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.</li>
<li><strong>allow_fopen_url</strong> - This controls PHP's ability to read files using URL/URIs.  If it is disabled, Coppermine will not be able to upload from URLs.</li>
</ol>
<p>It should be obvious that the files have to be uploaded somewhere (into some folder) on your webserver - this is the albums folder within the folder you installed coppermine on your server. The HTTP uploads go into subfolders of the "userpics" folder (which resides within the "albums" folder). Obviously, the coppermine upload script needs write permissions to upload the files there. This is why you have to change permissions on the albums folder and everything within it during coppermine install - make it writable for the user the webserver runs under. This is done using the CHMOD command on Unix/Linux based servers. If you experience issues with uploading, make sure that you have set the permissions correctly.</p>
<a name="upload_http_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="xp"></a>
<h3>4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</h3>
<p>If you are using Windows XP, you can use its built-in web publishing wizard to upload your photos to your gallery.</p>
<p>Once you have properly installed the script on your server, call the xp_publish.php file from your web browser (http://your_site.com/coppermine_dir/xp_publish.php).</p>
<p>The script displays some information on how to do the installation on the client side and how to use the Wizard. Basically you will need to download a small file created by the script that needs to be loaded into your Windows registry.</p>
<p>If you want to allow your users to use the Windows XP Web Publishing Wizard, it's advisable to promote it by showing a link to the file somewhere on your page.</p>

<a name="xp_publish_setup"></a>
<h4>4.11.3.1 XP Web Publishing Wizard: Setup</h4>
Before you can use the XP Web Publishing Wizard, it needs to know the address of the your gallery.
<ul>
<li>Open your browser and type the following into the address box replacing "your_site.com" and "coppermine_dir" with your own Gallery address information : <tt class="code">http://your_site.com/coppermine_dir/xp_publish.php</tt></li>
<li>On "File Download - Security Warning" click "Save" to save the cpg_###.reg file on your Desktop. (The ### represents a 10-digit numerical timestamp.)</li>
<li>Open Windows Explorer</li>
<li>Select Desktop from the left panel</li>
<li>Double click on the file name that you just saved</li>
<li>On Registry Editor's "Are you sure..." dialog click "Yes"</li>
</ul>

Above procedure needs to be done only once by users wishing to use the XP Publishing Wizard.

<a name="xp_publish_upload"></a>
<h4>4.11.3.2 XP Web Publishing Wizard: Uploading pictures</h4>
The process of uploading pictures is a matter of following a simple dialog. It takes much longer to describe the process than do it.
<ul>
<li>Start Windows Explorer and locate the directory with your photographs and select one or more pictures for upload.</li>
<li>If the Windows Explorer left panel is not titled "Picture Tasks", click on the "X" in the top right corner of the panel to close it and to reveal the Picture Tasks panel.</li>
<li>Select "Publish xxxx to the Web" from "File and Folder Tasks" on the left panel. "xxxx" could say "this file, these files or this folder" depending on what is highlighted on the right panel.</li>
<li>On Web Publishing Wizard's Welcome screen click "Next".</li>
<li>You can change your selection if necessary on the Thumbnail window showing up. Click "Next" when you are ready.</li>
<li>From the service provider window highlight your Photo Gallery name and click "Next".</li>
<li>Enter your Coppermine username and password to login to your gallery and click "Next".</li>
<li>From the "Welcome username" window you have an option of uploading your picture(s) into one of the existing albums or starting a new album. Click "Next" when you are ready.</li>
<li>Click "Next" in the upload starting confirmation window.</li>
<li>Select the picture sizes for the uploaded pictures. If you are unsure about acceptable picture sizes, verify with your Gallery administrator. Click "Next" when you are ready.</li>
<li>You are presented with the last window of the dialog and given a choice of opening the Gallery when the upload is complete.</li>
<li>Click "Finish" to end the XP Web Publishing Wizard and to enter the Gallery to check the new album contents.</li>
</ul>
<p class="small">[cpg1.1.1 or better required]</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="upload_trouble"></a>
<h3>4.11.4 Upload troubleshooting</h3>
<p>If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:</p>
<ul>
<li>Go to your coppermine page and log in as admin</li>
<li>Go to the config screen</li>
<li>Scroll to the bottom of the page</li>
<li>Expand the "Maintenance settings" section by clicking on it</li>
<li>Enable debug mode for everyone</li>
<li>Leave display of notices switched off</li>
<li>Save the new settings by clicking on "Save new configuration"</li>
<li>Go to the "groups" panel</li>
<li>Set the upload form configuration for all groups to "Single file uploads only" (set <em>File upload boxes</em> to &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; and <em>No. of boxes</em> to &quot;fixed&quot;)</li>
<li>Save your new settings</li>
</ul>
<p>Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, <a href="http://coppermine-gallery.net/forum/index.php?action=search" rel="external" class="external">search the support board</a> for the error message you get.<br />
<span class="important">When asking for support on the coppermine forum, post a link to your site and a <a href="#user_cp_new">test user account</a> (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.</span></p>
<p>When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely <strong>mandatory</strong>, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do <strong>exactly</strong> as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!</p>
<a name="upload_trouble_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<h2>4.12 The gallery configuration page<a name="admin"></a></h2>
<p>This is where you will configure the most important parts of your coppermine gallery. Some settings have an impact on the files you upload - changing the ( * ) astericked options after you have alreaded added a large number of files in your gallery can be a difficult undertaking. For this reason, it is important that you spend time with your coppermine setup at the early stages of gallery development to get those settings exactly the way you want them, before actually uploading too many pics or listing the gallery to the general public.</p>
<a name="admin_general"></a>
<h3>4.12.1 General settings</h3>
<a name="admin_general_name"></a><h4>Gallery name</h4>
<p>Enter the name of your gallery in this text field. The name you enter will appear as the title that is displayed in the web browser's title bar and is also displayed in many of the different theme templates.</p>
<a name="admin_general_name_end"></a>
<a name="admin_general_description"></a><h4>Gallery description</h4>
<p>Enter a short description of your gallery in this text field. This description is also displayed in some of the theme templates just below the name of your gallery.</p>
<a name="admin_general_description_end"></a>
<a name="admin_general_email"></a><h4>Gallery administrator email</h4>
<p>All emails sent by the gallery will be sent using this email address. This must be a valid email address.</p>
<a name="admin_general_email_end"></a>
<a name="admin_general_coppermine-url"></a><h4>URL of your coppermine gallery folder</h4>
<p>This is the URL where a user will be directed to when s/he clicks on the &quot;See more pictures&quot; link in an e-card. This <em>must</em> be the URL to the root of your coppermine installation followed by a forward slash (just the path to your coppermine folder, e.g. <em>http://yourdomain.tld/coppermine/</em>). Do not specify a specific file (such as index.php) or subfolder within the coppermine gallery in this field.</p><p>In previous versions of Coppermine, this field was called &quot;Target address for the 'See more pictures' link in e-cards&quot;, but as this url is now being used for other functions in coppermine, it has been changed, appropriately.</p>
<a name="admin_general_coppermine-url_end"></a>
<a name="admin_general_home-url"></a><h4>URL of your home page</h4>
<p>This is the URL where a user will be directed when he clicks on the &quot;Home&quot; button in the main menu.</p>
<p>You can use &quot;/&quot; for the root of your domain, &quot;index.php&quot; for your gallery's default starting page, or any other valid URL. By default this is "index.php".</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_home-url_end"></a>
<a name="admin_general_zip-download"></a><h4>Allow ZIP-download of favorites</h4>
<p>When enabled, users of your site may download files that they previously saved into their <em>favorites</em> collection. These files are dowloaded from the user's &quot;My favorites&quot; page and saved onto their computers in a zip-file format. This option requires zlib to be installed on your server (run <a href="http://www.php.net/phpinfo" class="external">phpinfo</a> to check if this php library file exists on your server).</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_general_zip-download_end"></a>
<a name="admin_general_time-offset"></a><h4>Timezone difference relative to GMT</h4>
<p>Specify the time zone difference between your local time and the time zone your webserver is in. This value will be used to adjust time stamps in ecards and other places.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_time-offset_end"></a>
<a name="admin_general_encrypt_password_start"></a><h4>Enable encrypted passwords</h4>
<p>This option affects changes on user passwords that are stored as plain text in your database (this is the case if you have upgraded from previous versions of coppermine that did not have this feature). It will encrypt all passwords in the database, and all future passwords will be stored encypted as well. This process can not be reversed: once encryption in turned on, it can not be turned off, so use this option only after giving it some serious consideration.</p>
<p>This option increases user security in coppermine, but comes with a drawback inherent to this method: even the admin will not be able to recover a lost password of a user (or his own password). The password can only be reset to another value using the "I forgot my password" option during login.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_encrypt_password_end"></a>
<a name="admin_general_help"></a><h4>Enable help-icons</h4>
<p>Enables the display of help icons in various sections of the coppermine admin pages. When enabled, make sure you have also uploaded the "docs" folder into your coppermine folder on your webserver.</p>
<p>If you choose to set this to &quot;Yes: everyone&quot;, logged in (registered) users will be able to see the help icons in strategic locations as well, e.g. when creating a user gallery.</p>
<p>As the help text is based on the documentation that comes with coppermine, it is available in English only. If the native language of your user(s) is not English, it is advisable to set this option to &quot;Yes: admin only&quot; to avoid confusion among your users.</p>
<p>It is strongly recommended that you do not disable the help icons altogether: even though you feel that you know your way around in your Coppermine install, the help icons might help you with the functinos of a new or unfamiliar option later.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_help_end"></a>
<a name="admin_general_keywords_start"></a><h4>Enable clickable keywords in search</h4>
<p>When enabled, a list of all keywords entered in the &quot;<a href="#edit_pics">Edit files</a>&quot; page will appear at the bottom of the search page, with each keyword being a clickable search link. Enabling this option is recommended only if you have a small number of keywords in use (e.g. less than 100) - it will provide your users with some ideas as to what they could be searching for in your gallery (in addition to the standard full-text search). Please note that enabling this option for a large list of keywords (e.g. thousands of keywords) can slow down the search page considerably and may be confusing for new users and visitors to your site.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_keywords_end"></a>
<a name="admin_general_enable-plugins"></a><h4>Enable plugins</h4>
<p>Enable or disable <a href="#plugin">plugins</a>, with a link to the <a href="#plugin_manager">plugin manager</a>. This is a brand-new feature of coppermine. This feature allows advanced copperminers to create plug-ins that can control the way coppermine looks and behaves without modifying the inherent code of the script itself. We anticipate many exciting, user-contributed, plug-ins in the near future.  More details can be found in the <a href="#plugin_start">plugins section of this documentation</a>.  Since plugins add on to the core Coppermine system, if you are having problems, try to disable all plugins using this setting to see if a plugin may be at fault.  If so, you can then enable all plugins here, then uninstall or install one plugin at a time in the <a href="#plugin_manager">plugin manager</a> to figure out which one is at fault.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_enable-plugins_end"></a>

<a name="admin_general_private-ip"></a><h4>Allow banning of non-routable (private) IP addresses</h4>
<p>Today, most people on the internet have dynamic IP addresses that are assigned to them when connecting to the internet by their Internet Service Provider. These IP adresses change each time the user connects to the internet, but during an internet session these IP addresses are &quot;visible&quot; at the web-sites that thee user is surfing. Within the range of all IP adresses (0.0.0.0 to 255.255.255.255), certan ranges are reserved for special purposes (mostly for the use on private networks). The banning feature will not accept IP adresses banning of addresses that belong to these private ranges (e.g. 192.168.0.1). This is necessary to prevent unexperienced, as well as experienced, coppermine admins from banning IP addresses within their own LAN. If you're actually running Coppermine on your LAN/WAN that uses private IP addresses (e.g. on a company's intranet) and you want the authority to be able to ban users, switch this option to &quot;Yes&quot;. If you're running coppermine on a webserver located in the internet (e.g. you're webhosted), you should keep this option set to &quot;No&quot;.<br />
If you don't use banning at all, you can safely ignore this setting completely.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_private-ip_end"></a>

<a name="admin_general_browsable_batch_add"></a><h4>Browsable batch-add interface</h4>
<p>When <a href="#batch_add_pics">batch-adding</a> files (that you have uploaded using <acronym title="File Transfer Protocol">FTP</acronym> before) to your gallery, you have the option to switch between a browsable list, where you can go scroll through the directory structure in your <tt class="code">albums</tt>-folder or to display the whole directory structure at once. Enable this option if you have a larger structure of directories and subdirectories you want to browse through (this requires your browser to be capable of displaying <a href="http://www.w3schools.com/tags/tag_iframe.asp" class="external" rel="external">iframes</a>). Set this option to &quot;No&quot; (disabled) if you want to use the &quot;classic&quot; coppermine interface that shows a complete list of the structure at once.<br />
Should you have difficulties using one, try the other. You can toggle between these options on the <a href="#batch_add_pics">batch-add</a> page as well.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_general_browsable_batch_add_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_language"></a>
<h3>4.12.2 Language &amp; Charset settings</h3>
<p><img src="pics/config_language.gif" width="612" height="234" border="1" alt="" /></p>
<a name="admin_language_language"></a><h4>Language</h4>
<p>This sets the default language for your gallery.</p>
<p>Coppermine has a separate language file that makes the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory. The files are unicode encoded (utf-8). They are automatically generated with the <a href="http://www.iconv.com/iconv.htm" class="external">iconv</a> program so there is no need for you to make an unicode version of your translation.</p>
<p>If you select utf-8 to be the default encoding in coppermine's config, then the script will be able to automatically select a language file based on the visitor browser configuration.</p>
<p>Here's how coppermine determines the language of a user: when accessed, coppermine checks if a user explicitely has set a language preference (which is stored in a cookie on the client). If one is set, coppermine is being displayed in that particular language.</p>
<p>If no individual language preference has been set, coppermine detects the language preference of a user set up in his browser. If the browser language is (for example) English, then coppermine will display in English.</p>
<p>If the browser language is set to hindi (as an example), while there is no Coppermine language file available for that particular language, then coppermine will fall back to the default language you have set up in Coppermine's config.</p>
<p>As you can see, the determination of the actual language setting is a three step process:</p>
<ul>
<li>user preference (cookie)</li>
<li>browser setting</li>
<li>coppermine config setting</li>
</ul>
<p>This three-step-process is very helpful: in fact, you only set a default language in Coppermine's config (usually the language the majority of your visitors is speaking) and that's it: if a visitor who speaks another language visits your page, Coppermine's controls will display in his language. Usually, you don't have to provide a <a href="htm#admin_language_list">language selector</a> on your page (but it's an option in Coppermine's config to display one if you prefer so). The language selector in fact just adds a parameter to the URL, which then subsequently triggers a cookie to be set on the client. You (as Coppermine admin) can accomplish the same by manually adding the parameter to the URL in the address bar of your browser. Just observe how the URL changes on the your coppermine gallery if you have enabled the language selector in coppermine's config to get an idea how this works.</p>
<p>When the script auto detects the preferred language, it stores the result in a cookie on the visitor's computer. To reset this cookie (and thus force the script to do another auto detection) the user must call this autodetect function with something like: <a href="#">http://yoursite.com/coppermine_dir/index.php?lang=xxx</a></p>
<p>Once you have added comments or files to your gallery, you should not change the character set of your gallery. If you do so, non-ASCII characters may display properly.</p>
<a name="admin_language_language_end"></a>
<a name="admin_language_fallback"></a><h4>Fallback to English if translated phrase not found?</h4>
<p>Enable this option if you're using languages other than english. If a certain word or phrase doesn't exist within your language file, coppermine will display the equivalent english phrase, instead.</p><p>This feature has been introduced to allow the use of previous version language files -- language files that may have not been translated for the this version, yet. Until an updated version of the language file is made available, you can use this option. Most translation differences affect the admin part of coppermine only, so  the admin will experience most of these untranslated strings. The admin will see some phrases in english instead of his/her preferred language for strings and words that don't exist in the currently available language file. NOTE: this fallback option only works for 95% of all phrases, there may still be some other translation omissions.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_language_fallback_end"></a>
<a name="admin_language_charset"></a><h4>Character encoding</h4>
<p>This should normally be set to "Unicode (utf-8)" (or "Default (language file)"). See the discussion in the &quot;<strong><a href="#admin_language">language</a></strong>&quot; section of this page.</p>
<a name="admin_language_list"></a><h4>Display language list</h4>
<p>Enable this option if you want your users to be able to select a preferred language from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your language:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the language dropdown list should appear on your gallery (look for the call tag: <strong>{LANGUAGE_SELECT_LIST}</strong>).</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_language_list_end"></a>
<a name="admin_language_flags"></a><h4>Display language flags</h4>
<p>Enable this option if you would like the option of having your users select languages appropriate for their use by merely clicking on a flag icon which representing their language or country (you can specify to display the flags themselves or include a label that states: &quot;<strong>Choose your language:</strong>&quot; in front of the flags). Edit your template file (/themes/yourtheme/template.html) to specify where the flags should appear in your gallery (look for the call tag:<strong>{LANGUAGE_SELECT_FLAGS}</strong>).</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_language_flags_end"></a>
<a name="admin_language_reset"></a><h4>Display &quot;reset&quot; in the language selection</h4>
<p>This option only applies only if you enabled user language selection - it will show a &quot;default&quot;-icon or list entry to let the users go back to the original language of your gallery.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_language_reset_end"></a>
<a name="admin_language_charset_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_theme"></a>
<h3>4.12.3 Themes settings</h3>
<a name="admin_theme_theme"></a><h4>Theme</h4>
<p>Use this dropdown list to select the default theme for your gallery (Themes are stored in sub-directories of the <strong>themes</strong> directory ).</p>
<a name="admin_theme_theme_end"></a>
<a name="admin_theme_theme_list"></a><h4>Display theme list</h4>
<p>Enable this option if you want your users to be able to select other themes from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your theme:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the theme dropdown list should appear on your gallery (look for <strong>{THEME_SELECT_LIST}</strong>).</p>
<p>This option only makes sense if you have at least one alternative theme in your /themes/ folder other than your default theme. We recommend using this option only if there's are additional benefits for the user (for example a theme with less graphics in it that loads faster for users on a dial-up connection, or a theme with reduced color pallettes and good contrast).</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_theme_theme_list_end"></a>
<a name="admin_theme_theme_reset"></a><h4>Display &quot;reset&quot; in theme selection</h4>
<p>This option applies only if you enabled the user theme selection option - it will show a &quot;default&quot; list entry to let the users go back to the original theme of your gallery.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_theme_theme_reset_end"></a>
<a name="admin_theme_faq"></a><h4>Display FAQ</h4>
<p>This option adds a &quot;FAQ&quot; link to the menu bar when enabled. If a user clicks on it, it will display a list of &quot;Frequently asked question&quot; on how to use coppermine. To change the content of the FAQ, edit the file /your_coppermine_folder/lang/yourlanguage.php (e.g. english.php) and look for</p>
<pre>// ------------------------------------------------------------------------- //
// File faq.php
// ------------------------------------------------------------------------- //</pre>
<p>Edit the content that comes after it.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_theme_faq_end"></a>
<a name="admin_theme_custom_lnk_name"></a><h4>Name of your custom link</h4>
<p>Use this if you want to create a custom link that will appear in the menu. What you enter here will be the name of the menu link or button.  Leave space blank if you do not have any specific use for it.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_theme_custom_lnk_name_end"></a>
<a name="admin_language_custom_lnk_url"></a><h4>URL of your custom link</h4>
<p>This is the URL where the user's browser will be directed to when s/he clicks on the &quot;Custom link name&quot; button in the main menu.</p>
<p>You can use any valid URL.</p>
<p>Leave this blank if you do not have any specific use for it.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_language_custom_lnk_url_end"></a>
<a name="admin_theme_bbcode"></a><h4>Display bbcode help</h4>
<p>When enabled, this will display the <a href="#bbcode">bulletin board codes</a> that may be used in description fields to help with the formatting of text, images and links.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_theme_bbcode_end"></a>
<a name="vanity_block"></a><h4>Display the vanity block on themes that are defined as XHTML and CSS compliant</h4>
<p>When enabled and using a theme that has been defined as XHTML and CSS compliant, the vanity block will be shown. The vanity block contains the logos and links for HTML and CSS compliance at w3.org, as well as pointers to the PHP, and MySQL projects.</p>
<p class="small">[cpg1.4.2 or better required]</p>
<a name="vanity_block_end"></a>
<a name="admin_theme_include_path_start"></a>
<h4>Path to custom header include</h4>
<p>Optional relative path to a custom header file. Using this option, you can include non-coppermine code bits to be included into your theme, e.g. an overall navigation that gets included on your whole website. You can only add a relative path (seen from the root path of your coppermine install) - not an absolute one, nor a http include from another website. This option is only meant for experienced users who have some PHP know-how. </p>
<p><span class="important">Warning: you mustn't include full html pages that contain an html header or footer (tags like <tt class="code">&lt;head&gt;</tt> or <tt class="code">&lt;body&gt;</tt>), nor can the included file do file header manipulation, e.g. reading another (non-coppermine) cookie.</span></p>
<p class="small">[cpg1.4.0 or better required]</p>
<h4>Path to custom footer include</h4>
<p>Optional relative path to a custom footer file. The same remarks apply as for the custom header include path.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_theme_include_path_end"></a>
<a name="admin_theme_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_album_list"></a>
<h3>4.12.4 Album list view</h3>
<a name="admin_album_table-width"></a>
<h4>Width of the main table (pixels or %)</h4>
<p>The number you type in here becomes the default width of the display tables used on your main page or when you are viewing thumbnails of an album. You can enter the width in pixels or specify it in percentages. The default value is 100%.</p>
<a name="admin_album_table-width_end"></a>
<a name="admin_album_category-levels"></a>
<h4>Number of levels of categories to display</h4>
<p>The default value is 2. With this value the script will display the current categories plus one level of sub-categories.</p>
<a name="admin_album_category-levels_end"></a>
<a name="admin_album_number"></a>
<h4>Number of albums to display</h4>
<p>This is the number of albums to display on a page. If the current category contains more albums than what is allowed on the page, the album list will be split over multiple pages with tabs at the bottom of each album list table that users can click on to advance to the next set of albums in a particular category.</p>
<a name="admin_album_number_end"></a>
<a name="admin_album_columns"></a>
<h4>Number of columns for the album list</h4>
<p>Self-explanatory. The default value is 2.</p>
<a name="admin_album_columns_end"></a>
<a name="admin_album_thumbnail-size"></a>
<h4>Size of thumbnails in pixels</h4>
<p>This sets the maximum size of the thumbnails that are to be displayed for each album. 50 means that the thumbnail will fit inside a square of 50x50 pixels.</p>
<p>If the size you specify there is larger than &quot;Pictures and thumbnails settings/Max width or height of a thumbnail&quot;, the thumbnail will be stretched. Aesthetically, it is better to have thumbnails smaller than or equal to the Max width or height settings here.</p>
<a name="admin_album_thumbnail-size_end"></a>
<a name="admin_album_list_content"></a><a name="changing"></a><h4>The content of the main page</h4>
<p>This option allows you to change the content of the main page displayed by the script.</p>
<p>The default value is &quot;<strong>catlist/alblist/random,2/lastup,2</strong>&quot;</p>
<p>You can use the following "codes" to include other items:</p>
<ul>
  <li>'<strong>breadcrumb</strong>': navigation inside the gallery (e.g. &quot;home &gt; category &gt; subcategory &gt; album&quot;)</li>
  <li>'<strong>catlist</strong>': category list</li>
  <li>'<strong>alblist</strong>': album list</li>
  <li>'<strong>random</strong>': random files (leaving random files &quot;on&quot; for huge galleries with more than 10,000 pics might result in performance problems; switch random &quot;off&quot; in this case)</li>
  <li>'<strong>lastup</strong>': last uploads</li>
  <li>'<strong>topn</strong>': most viewed</li>
  <li>'<strong>toprated</strong>': top rated</li>
  <li>'<strong>lastcom</strong>': last comments </li>
  <li>'<strong>lasthits</strong>': last viewed </li>
  <li>'<strong>anycontent</strong>': inserts php-generated content that has to reside within the file 'anycontent.php' into the index page. Can be used to include banner-rotation scripts or similar.</li>
  <li>'<strong>lastalb</strong>': last created albums</li>
  </ul>
<p>Unless you really know what you are doing you should always keep catlist and alblist in &quot;<em>the content of the main page</em>&quot;, as they make up the core parts of the index page or any gallery site, for that matter.</p>
<p>The <strong>,2</strong> dictates that cpg should display 2 rows of thumbnails.</p>
<a name="admin_album_list_content_end"></a>
<a name="admin_album_first-level_thumbs"></a>
<h4>Show first level album thumbnails in categories</h4>
<p>Use this setting to choose whether or not to display thumbnails from the first album of the categories listed on the default gallery entry page.</p>
<a name="admin_album_first-level_thumbs_end"></a>
<a name="admin_album_list_alphasort_start"></a>
<h4>Sort categories alphabetically (instead of custom sort order)</h4>
<p>You can dictate that coppermine sort all categories alphabetically (instead of in a custom order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is accessible both in the coppermine config menu and in the category manager. If you enable alphabetical sorting, the up and down arrows that normally let you move  categories up and down in the custom sorting list will disappear.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_album_list_alphasort_end"></a>
<a name="admin_album_linked_files_start"></a><h4>Show number of linked files</h4>
<p>If you use album keywords to display images/files in more than one album, enabling this option will display additional information for the album stats: if an album doesn't only contain &quot;regular&quot; files, but files linked via the "<a href="#album_prop_keyword_start">album keyword</a>" option as well, the number of linked files will be displayed separately like this "3 files, last one added on Oct 07, 2004<em>, 3 linked files, 6 files total</em>".</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_album_linked_files_end"></a>
<a name="admin_album_list_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_thumbnail_view"></a>
<h3>4.12.5 Thumbnail view</h3>
<a name="admin_thumbnail_columns"></a>
<h4>Number of columns on thumbnail page</h4>
<p>Default value is 4 this means that each row will show 4 thumbnails.</p>
<a name="admin_thumbnail_columns_end"></a>
<a name="admin_thumbnail_rows"></a>
<h4>Number of rows on thumbnail page</h4>
<p>Default value is 3.</p>
<a name="admin_thumbnail_rows_end"></a>
<a name="admin_thumbnail_tabs"></a>
<h4>Maximum number of tabs to display</h4>
<p>When the thumbnails spread over multiple pages, tabs are displayed at the bottom of the page. This value define how many tabs will be displayed.</p>
<a name="admin_thumbnail_tabs_end"></a>
<a name="admin_thumbnail_display_caption"></a>
<h4>Display file caption (in addition to title) below the thumbnail </h4>
<p>Toggles whether the file caption is displayed below each thumbnail while user is in (regular) thumbnail view.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_thumbnail_display_caption_end"></a>
<a name="admin_thumbnail_display_views"></a>
<h4>Display number of views below the thumbnail</h4>
<p>Toggles whether the number of views is displayed below each thumbnail while user is in thumbnail view.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_thumbnail_display_views_end"></a>
<a name="admin_thumbnail_display_comments"></a>
<h4>Display number of comments below the thumbnail</h4>
<p>Toggles the display of the number of comments for below each thumbnail.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_thumbnail_display_comments_end"></a>
<a name="admin_thumbnail_display_uploader"></a>
<h4>Display uploader name below the thumbnail</h4>
<p>Toggles the display of the name of non-admin uploaders below each thumbnail.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_thumbnail_display_uploader_end"></a>
<a name="admin_thumbnail_display_admin_uploader"></a>
<h4>Display names of admin uploaders below the thumbnail</h4>
<p>Toggles the display of admin uploader names below each thumbnail for users that have the administrators group set as thier default group.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_thumbnail_display_admin_uploader_end"></a>
<a name="admin_thumbnail_display_filename"></a>
<h4>Display the file name below the thumbnail</h4>
<p>Toggles the display of the file name below each thumbnail.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_thumbnail_display_filename_end"></a>
<a name="admin_thumbnail_display_description"></a>
<h4>Display album description</h4>
<p>Toggles the display of the album description below each album thumbnail.</p>
<a name="admin_thumbnail_display_description_end"></a>
<a name="admin_thumbnail_default_sortorder"></a>
<h4>Default sort order for files</h4>
<p>This option determines the default order in which thumbnails should be displayed. Your user can override this by selecting a custom sort order from the sort buttons above the albums.</p>
<a name="admin_thumbnail_default_sortorder_end"></a>
<a name="admin_thumbnail_minimum_votes"></a>
<h4>Minimum number of votes for a file to appear in the 'top-rated' list</h4>
<p>Used to determine how many votes a file must receive before appearing as a &quot;top-rated file.&quot;  If a file has received less than &quot;this value&quot; of votes, it will not be displayed in the "top-rated" page. This value must be greater or equal to 1.</p>
<a name="admin_thumbnail_minimum_votes_end"></a>
<a name="admin_thumbnail_view_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_image_comment"></a>
<h3>4.12.6 Image view</h3>
<a name="admin_image_comment_table-width"></a>
<h4>Width of the table for picture display (pixels or %)</h4>
<p>The minimum width of the table that will be used to display the intermediate picture.</p>
<p>Examples:<br /><tt class="code">600</tt> = The table around the pic will be 600 pixels wide (if the pic has larger dimensions this table will expand accordingly to fit the image).<br />
<tt class="code">100%</tt> = use all available space based on the horizontal dimension of the pic.</p>
<a name="admin_image_comment_table-width_end"></a>
<a name="admin_image_comment_info_visible"></a>
<h4>File information are visible by default</h4>
<p>Define whether or not the file information block that appears below the intermediate image should be visible by default (If turned off, users can still view the info block by clicking on the ( i ) button..</p>
<a name="admin_image_comment_info_visible_end"></a>
<a name="admin_image_comment_descr_length"></a>
<h4>Max length for an image description</h4>
<p>Maximum number of characters that an image description may contain.</p>
<a name="admin_image_comment_descr_length_end"></a>
<a name="admin_image_comment_filmstrip_toggle"></a>
<h4>Show film strip</h4>
<p>Toggles display of a "film strip" showing thumbnails of prior and subsequent files in the album.</p>
<p class="small">[cpg1.2.0 or better required]</p>
<a name="admin_image_comment_filmstrip_toggle_end"></a>
<a name="admin_image_comment_display_film_strip_filename"></a>
<h4>Display file name under film strip thumbnail</h4>
<p>Toggles the display of the file name below each thumbnail in the film strip.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_image_comment_display_film_strip_filename_end"></a>
<a name="admin_image_comment_filmstrip_number"></a>
<h4>Number of items in film strip</h4>
<p>Sets the number of thumbnails to display in film strip. The number you can set here is dependent on your thumbnail size and monitor size. If you do not want to inconvenience users with smaller monitors set this value between 4-6.</p>
<p class="small">[cpg1.2.0 or better required]</p>
<a name="admin_image_comment_filmstrip_number_end"></a>
<a name="admin_image_comment_slideshow_interval"></a>
<h4>Slideshow interval in milliseconds</h4>
<p>This sets the time that each pic is to be displayed (transition interval) when a user is viewing a slideshow (the next pic is being loaded/cached while the current one is being displayed). This setting must be in milliseconds (1 second = 1000 milliseconds).<br />Remember that setting this to a very low value may not be in the best interest for all of your users, especially those who are on dial-up connections, or if you have large files (kb)that may take longer than the allotted time to display.</p>
<a name="admin_image_comment_slideshow_interval_end"></a>
<a name="admin_image_comment_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_comment_start"></a>
<h3>4.12.7 Comment settings</h3>
<a name="admin_image_comment_bad_words"></a>
<h4>Filter bad words in comments</h4>
<p>Remove "bad words" from comments. The "bad words" list is in the language file. NOTE: Not all language files may contain an equivelent for this list.</p>
<a name="admin_image_comment_bad_words_end"></a>
<a name="admin_image_comment_smilies"></a>
<h4>Allow smilies in comments</h4>
<p>Toggle the use of smilies in comments.</p>
<a name="admin_image_comment_smilies_end"></a>
<a name="admin_image_comment_flood"></a>
<h4>Allow several consecutive comments for a specific pic/file from the same user</h4>
<p>This setting toggles flood protection for the comments option. When set to YES, a user can post another comment, even though he already posted a previous one. Some users may abuse this setting. The recommended setting is: NO.</p>
<a name="admin_image_comment_flood_end"></a>
<a name="admin_image_comment_chars_per_word"></a>
<h4>Max number of characters in a word</h4>
<p>This is designed to prevent someone from breaking the flow of your gallery layout by posting lengthy comments without using spaces between words. With this default value, "words" that longer than 38 characters are automatically censored.</p>
<a name="admin_image_comment_chars_per_word_end"></a>
<a name="admin_image_comment_lines"></a>
<h4>Max number of lines in a comment</h4>
<p>Prevent a comment for containing too many "new line" characters (enter key).</p>
<a name="admin_image_comment_lines_end"></a>
<a name="admin_image_comment_length"></a>
<h4>Maximum length of a comment</h4>
<p>Maximum number of characters that a comment may contain.</p>
<a name="admin_image_comment_length_end"></a>
<a name="admin_image_comment_admin_notify"></a>
<h4>Notify admin of comments by email</h4>
<p>Toggle if you want to receive an email each time a comment is being posted. Warning: only enable this option on sites with very low user traffic or you may soon find yourself flooded with notification emails.</p>
<a name="admin_image_comment_admin_notify_end"></a>
<a name="admin_comment_sort_start"></a>
<h4>Sort order of comments</h4>
<p>Changes the sorting order of comments made to a file.<br />
Ascending: latest comment at the bottom, oldest comment at the top<br />
Descending: latest comment at the top, oldest comment at the bottom</p>
<a name="admin_comment_sort_end"></a>
<a name="comments_anon_pfx"></a>
<h4>Prefix for anonymous comments authors</h4>
<p>If you allowed anonymous comments (permissions set on the <a href="#group_cp">groups</a> control panel), this prefix will be used for comments left by unregistered users. This can be helpful in preventing and identifing unregistered users posing as other registered users (or even an admininstrators) when leaving comments. Leave this blank if you do not want a prefix for guest's comments.</p>
<a name="comments_anon_pfx_end"></a>
<a name="admin_comment_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_picture_thumbnail"></a>
<h3>4.12.8 Picture and thumbnail settings</h3>
<a name="admin_picture_thumbnail_jpeg_quality"></a>
<h4>Quality for JPEG files</h4>
<p>The quality used for JPEG compression when the script resizes an image. Values can range from 0 (worst) to 100 (best). By default this value is set to 80. This value can be set to 75 when using ImageMagick.<br />Do not change this setting unless you really know what you're doing. Other settings for thumbnail and intermediate pic (dimensions) may have a significant and undesireable impact on filesizes and image quality.</p>
<a name="admin_picture_thumbnail_jpeg_quality_end"></a>
<a name="admin_picture_thumbnail_max-dimension"></a><h4>Max dimension of a thumbnail</h4>
<p>Sets the maximum allowable size in pixels for the specified dimension of your thumbnails.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
<a name="admin_picture_thumbnail_max-dimension_end"></a>
<a name="admin_picture_thumbnail_use-dimension"></a><h4>Use dimension ( width or height or Max aspect for thumbnail )</h4>
<p>Sets the dimension (height or width) on which the maximum pixel size limitation should apply to.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
<a name="admin_picture_thumbnail_use-dimension_end"></a>
<a name="admin_picture_thumbnail_intermediate_toggle"></a>
<h4>Create intermediate pictures</h4>
<p>By default, whenever you upload a file, the script creates both a thumbnail of the file (file name using "thumb_" as its prefix) and an intermediate version of the file(file name using "normal_" as its prefix). If you set this option to NO, the intermediate file will not be created.</p>
<a name="admin_picture_thumbnail_intermediate_toggle_end"></a>
<a name="admin_picture_thumbnail_intermediate_dimension"></a>
<h4>Max width or height of an intermediate picture/video</h4>
<p>The intermediate pictures are those that appears when you click on a thumbnail. The default value is 400, it means that the intermediate picture will be created to fit inside a square of 400x400 pixels. NOTE: Currently, 33% of your users have monitors set at 800 pixels wide, another 33% have their settings at 1024 pixels, the rest have settings less than or greater than these two numbers. Therefore a setting of 600 or less would fit the screens of most users.  Keep in mind,however, that setting this size larger than 400 impacts the file size of your intermediate pictures and the time it takes to download and display on slower connections.</p>
<a name="admin_picture_thumbnail_intermediate_dimension_end"></a>
<a name="admin_picture_thumbnail_max_upload_size"></a>
<h4>Max size for uploaded files (KB)</h4>
<p>Any file with a file size larger than this value will be rejected by the coppermine script. Setting this option to a higher value than what is actually supported by your webserver will only result in "funny" webserver error messages in lieu of "regular" coppermine error messages. Therefore, it is recommended that you set this value to a size that is slightly lower or equal to the max file size that your server is set to handle. The actual size your server can handle cannot be determined by Coppermine (or any PHP script) - when in doubt, contact your webhost.</p> <p>Prior to an FTP upload of files, it is recommended that the admin use their imaging software to resize (individually or by batch processing) larger files to a more practical size. This will facilitate the FTP process and the creation of intermediate pictures and thumbnails.</p>
<a name="admin_picture_thumbnail_max_upload_size_end"></a>
<a name="admin_picture_thumbnail_max_upload_dimension"></a>
<h4>Max width or height for uploaded pictures (pixels)</h4>
<p>Limits the height and width dimensions of the pictures that are uploaded. Resizing large pictures requires a lot of memory and consumes CPU resources. As a result, there are usually limitations that have been set by your webserver (host) regarding the maximum uploadable file sizes - you cannot set this value to one that is higher than what is actually supported by your webserver. Contact your webhost/server if you are not sure about your site's file size limitations. (Ideally, users will resize their pictures to a more manageable size prior to attempting any uploads. Determine what you would like the maximum size for a full size pic should be (dpi and dimensions, while keeping in mind the screen size of your users) and use that as a recommended standard for FTP and user HTTP uploads. Inform your users of this recommended size constraints.)</p>
<a name="admin_picture_thumbnail_max_upload_dimension_end"></a>
<a name="admin_picture_thumbnail_auto-resize"></a><h4>Auto resize images that are larger than max width or height</h4>
<p>During the upload process, if images are larger than the maximum width or height allowed they will automatically be resized to the maximum allowable size. Users with especially large files should be advised to resize their pictures outside of coppermine before uploading as this process also consumes considerable resources when processed online.</p>
<p><strong>Note:</strong> How the image is resized (width/height/max aspect) is set in the admin option &quot;<a href="#admin_picture_thumbnail_use-dimension">Use dimension (width or height or Max aspect for thumbnail)</a>&quot;</p>
<p>There are three options:</p>
<ul><li>No - Disabled</li><li>Yes: Everyone - Enabled for all users, including the Admin during batch-add process.</li>
<li>Yes: User only - Enabled only for regular users</li></ul>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_picture_thumbnail_auto-resize_end"></a>
<a name="admin_picture_thumbnail_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_picture_thumb_advanced"></a>
<h3>4.12.9 Files and thumbnails advanced settings</h3>
<a name="admin_picture_thumb_advanced_private_toggle"></a>
<h4>Albums can be private</h4>
<p>If set to YES then your gallery can contain albums that are visible only to users that belong to a specified group. This is ideal for creating albums that contain files that you want accessible to only a select group of people.  You could also create a userID and password and inform specific users/customers of the ID and password needed to view these files. </p>
<p>If a user is a member of a group that can have its own gallery and this option is turned on then this user will have the permission to hide any of his/her albums from other users.</p>
<p>This option does <strong>not</strong> determine whether users can have personal galleries at all, <strong>nor</strong> does it determine who is allowed to upload and who is not (these settings are accessible in the <a href="#group_cp">groups manager</a>). You should only set this option to NO if you really know what you're doing (by default, it is set to YES).</p>
<p class="important">Note: if you switch from 'yes' to 'no' all currently private albums will become public!</p>
<a name="admin_picture_thumb_advanced_private_toggle_end"></a>
<a name="admin_picture_thumb_advanced_private_icon_show"></a>
<h4>Show private album Icon to unlogged user </h4>
<p>Toggles the display of the private album icons to unlogged users.<br />Set to 'NO', the album is completely hidden from unauthorised users.<br />Set to 'YES', the album name, description and statistics are shown, but not the thumbnails or files contained within.</p>
<a name="admin_picture_thumb_advanced_private_icon_show_end"></a>
<a name="admin_picture_thumb_advanced_filename_forbidden_chars"></a>
<h4>Characters forbidden in filenames</h4>
<p>When the filename of a file that is uploaded contains any one or more of these characters, the characters will be replaced with an underscore.</p>
<p>Don't change this unless you know exactly what you are doing.</p>
<a name="admin_picture_thumb_advanced_filename_forbidden_chars_end"></a>
<a name="admin_picture_thumb_advanced_pic_extensions"></a>
<h4>Allowed image types</h4>
<p>&quot;<em>ALL</em>&quot; will result in all allowed image file types that your image library (GD or ImageMagick) is capable of handling to be allowed as uploads and content in your gallery. If you want to restrict the allowed file types to certain types only, enter a slash-separated list of extensions, e.g. <tt class="code">jpg/bmp/tif</tt></p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_picture_thumb_advanced_pic_extensions_end"></a>
<a name="admin_thumbs_advanced_movie"></a>
<h4>Allowed movie types</h4>
<p>&quot;<em>ALL</em>&quot; will result in all allowed movie file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wmv/avi/mov</tt>.</p>
<p>Note that being able to display a movie requires that the cpg-user have the necessary codecs properly configured on their computers to display the movie file, e.g. if you allow the file type <tt class="faq">mov</tt>, the user who wishes to view the file will need to have Apple's Quick-Time plug-in installed. Also note that <tt class="code">avi</tt> is just a container for different codecs - this means that a computer which is capable of playing movie1.avi may not be capable of playing movie2.avi if those files have been encoded with different 'avi' codecs.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_thumbs_advanced_movie_end"></a>
<a name="admin_movie_autoplay"></a>
<h4>Movie Playback Autostart</h4>
<p>If set to YES, movies will instantly start playing when loaded (has no affect on0 flash files, however).  Nothing will happen if the user does not have the necessary codecs installed on their computer.</p>
<a name="admin_movie_autoplay_end"></a>
<a name="admin_picture_thumb_advanced_audio_extensions"></a>
<h4>Allowed audio types</h4>
<p>&quot;<em>ALL</em>&quot; will result in all allowable audio file types to be uploaded. If you want to restrict the allowed file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wav/mp3/wma</tt>.</p>
<p>Note that being able to listen to an audio file requires that the cpg-user have the necessary codecs properly configured on their computers to hear these files, e.g. if you allow the file type <tt class="code">mp3</tt>, users who wish to listen to the file will need to have a media player installed on their computer that can handle mp3 files.</p>
<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">ram</tt>, <tt class="code">ra</tt> and <tt class="code">rm</tt>-files. If you're not sure, do not allow this file types.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_picture_thumb_advanced_audio_extensions_end"></a>
<a name="admin_picture_thumb_advanced_doc_extensions"></a>
<h4>Allowed document types</h4>
<p>&quot;<em>ALL</em>&quot; will result in all allowable document file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">txt/pdf</tt>.</p>
<p>Note that being able to browse a document file requires the cpg-user to have a compatible software installed and configured properly on their computer that is capable of displaying the type of document in question, e.g. if you allow the file type <tt class="code">xls</tt>, users who wish to browse the file will need to have an application installed on their computer that can display MS-Excel sheets. Be extremely careful with  document that are known to be vulnerable to virus contamination, embedded or as macros. This is especially true if you plan to allow users the capability of uploading documents without admin approval.</p>
<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">rar</tt>-files. If you're not sure, do not allow this file type.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_picture_thumb_advanced_doc_extensions_end"></a>
<a name="admin_picture_thumb_advanced_resize_method"></a>
<h4>Method for resizing images</h4>
<p>Set this to the type of image library you have on your server (must be either GD1, GD2 or ImageMagick). GD2 is the recommended setting.</p>
<p>If you are using GD 1.x and the colors of your thumbnails or intermediate image do not display properly, then, chances are, you actually have GD2 on your server - switch this option to GD 2.x</p>
<p>More recent distributions of PHP come pre-packaged with GD - if you're not sure what you have, set this option to GD2. You can also look at your PHP settings by pointing your browser to the phpinfo.php file in your gallery.  eg, <strong>http://www.yourgallery.com/your_cpg_folder/phpinfo.php</strong>. For more information on using PHP click on this link: <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a>.</p>
<a name="admin_picture_thumb_advanced_resize_method_end"></a>
<a name="admin_picture_thumb_advanced_im_path"></a>
<h4>Path to ImageMagick 'convert' utility (example /usr/bin/X11/) </h4>
<p>If you intend using ImageMagick convert utility to resize you picture, you must enter the name of the <u>directory</u> where the convert program is located in this line. Don't forget the trailing "<tt class="code">/</tt>" to close the path. This path must only indicate the <strong>directory</strong> where the convert utility is located, it should not point directly to the convert utility.</p>
<p>If your server is running under Windows, use / and not \ to separate components of the path (eg. use C:/ImageMagick/ and not C:\ImageMagick\). This path must not contain any spaces under Windows so that it will not put ImageMagick in the "Program files" directory.</p>
<p><strong>ImageMagick will not work properly if PHP on your server is running in SAFE mode and it is a real challenge to get it running under Windows. Please consider using GD in these cases and don't waste your time asking for support in the forum with ImageMagick installation questions. There are just too many things that can prevent ImageMagick from work properly and without physical access to your server it is extremely difficult to guess what is wrong.</strong></p>
<a name="admin_picture_thumb_advanced_im_path_end"></a>
<a name="admin_picture_thumb_advanced_allowed_imagetypes"></a>
<h4>Allowed image types (only valid for ImageMagick)</h4>
<p>This is the list of image types that the script will accept when using ImageMagick. Image type detection is performed by reading the header of the file and not by looking at its file extension.</p>
<a name="admin_picture_thumb_advanced_allowed_imagetypes_end"></a>
<a name="admin_picture_thumb_advanced_im_commandline"></a>
<h4>Command line options for ImageMagick</h4>
<p>Here you can add options that will be appended to the command line when executing ImageMagick. Read the ImageMagick Convert manual to see what is available.</p>
<a name="admin_picture_thumb_advanced_im_commandline_end"></a>
<a name="admin_picture_thumb_advanced_exif"></a>
<h4>Read EXIF data in JPEG files</h4>
<p>With this option turned on, the script will read the EXIF data stored by digicams in JPEG files. For cpg1.x to cpg1.2.1, this option will work only if PHP was compiled with the EXIF extension. Coppermine 1.3.0 (or better) comes with built-in EXIF support even if the webserver itself doesn't have EXIF support, as it uses a <a href="http://www.offsky.com/software/exif/index.php" class="external">separate EXIF class</a>.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_picture_thumb_advanced_exif_end"></a>
<a name="admin_picture_thumb_advanced_iptc"></a>
<h4>Read IPTC data in JPEG files</h4>
<p>With this option turned on, the script will read the <a href="http://www.iptc.org/" class="external">IPTC</a> data stored by digicams in picture files.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_picture_thumb_advanced_iptc_end"></a>
<a name="admin_picture_thumb_advanced_albums_dir"></a>
<h4>The album directory</h4>
<p>This is the base directory for your "Image Store". The path is relative to the main directory of the script. </p>
<p>You can use ../ in the path to move-up one level in the directory tree.</p>
<p>You can <strong>not</strong> use an absolute path there ("/var/my_images/" will not work) and the album directory must be visible by your web server.</p>
<p>This setting mustn't be changed if you already have files in your database. If you do so, all references to your existing files will break.</p>
<a name="admin_picture_thumb_advanced_albums_dir_end"></a>
<a name="admin_picture_thumb_advanced_userpics_dir"></a>
<h4>The directory for user files</h4>
<p>This is the directory where files uploaded using the web interface (URL/URI) are stored. This directory is a subdirectory of the album directory. It's recommended that you leave this setting as is. Should you decide to change it, keep in mind that the folder must exist within the albums folder and the path should be relative to it.</p>
<p>The same remarks as above apply.</p>
<p>When you upload files by FTP, store them in a subdirectory (folder) of the "album directory" and not inside the &quot;directory for user files&quot;. </p>
<p>This setting mustn't be changed if you already have files in your database. If you do, all reference to previously existing files will no longer be valid.</p>
<a name="admin_picture_thumb_advanced_userpics_dir_end"></a>
<a name="admin_picture_thumb_advanced_intermediate_prefix"></a>
<h4>The prefix for intermediate pictures</h4>
<p>This prefix is added to the file name of created pictures.</p>
<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
<a name="admin_picture_thumb_advanced_intermediate_prefix_end"></a>
<a name="admin_picture_thumb_advanced_thumbs_prefix"></a>
<h4>The prefix for thumbnails</h4>
<p>This prefix is added to the file name of created intermediate thumbnails.</p>
<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
<a name="admin_picture_thumb_advanced_thumbs_prefix_end"></a>
<a name="admin_picture_thumb_advanced_chmod_folder"></a>
<h4>Default mode for directories</h4>
<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0777</strong> . Failure to do so may prevent you from being able to delete directories created by the script with your FTP client should you ever decide it necessary to uninstall the coppermine script.</p>
<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
<a name="admin_picture_thumb_advanced_chmod_folder_end"></a>
<a name="admin_picture_thumb_advanced_chmod_files"></a>
<h4>Default mode for files</h4>
<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0666</strong>.</p>
<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
<a name="admin_picture_thumb_advanced_chmod_files_end"></a>
<a name="admin_picture_thumb_advanced_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_user"></a>
<h3>4.12.10 User settings</h3>
<a name="admin_allow_registration"></a>
<h4>Allow new user registrations</h4>
<p>Defines whether new users can self-register or not. If you set this to NO, only the admin can create new users and the &quot;register&quot; link won't be displayed in the navigation.</p>
<a name="admin_allow_unlogged_access"></a>
<h4>Allow unlogged users (guest or anonymous) access</h4>
<p>When set to &quot;No&quot;, unlogged users (i.e. guests or anonymous users) can not access anything in your gallery except the login screen (and the registration screen, if you allow registrations). Completely disabling anonymous access will probably decrease your site's popularity. Use this option only if you need your gallery to be absolutely private. The recommended setting is to leave anonymous access enabled and use the more specific permissions by groups and albums settings instead.</p>
<a name="admin_allow_unlogged_access_end"></a>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_allow_registration_end"></a>
<a name="admin_registration_verify"></a>
<h4>User registration requires email verification</h4>
<p>If set to YES an email will be sent to the user that will contain a code to activate his account. If set to NO, user accounts become immediately active.</p>
<a name="admin_registration_verify_end"></a>
<a name="admin_registration_notify"></a>
<h4>Notify admin of user registration by email</h4>
<p>If set to YES an email will be sent to the gallery admin when a new user registers.</p>
<a name="admin_registration_notify_end"></a>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_activation"></a><h4>Admin Activation</h4>
<p>Enable admin activation. When set to yes, a gallery administrator must first activate the new registration before the user can log-in and take advantage of any registered user privileges.</p>
<p>By default, it is set to no, so users would activate their own accounts upon registering.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_activation_end"></a>
<a name="admin_allow_duplicate_emails_addr"></a>
<h4>Allow two users to have the same email address</h4>
<p>Allow or prevent two users from registering with the same email
address. Recommended setting is NO. As most internet users today have more than one email address, this option is being considered as deprecated and will possibly be removed in future versions of coppermine.</p>
<a name="admin_allow_duplicate_emails_addr_end"></a>
<a name="admin_approval_notify"></a>
<h4>Notify admin of user upload awaiting approval</h4>
<p>When enabled, the gallery admin receives an email notification of all pics that await for his/her approval (depends on the approval settings in &quot;<a href="#group_cp">groups</a>&quot;). The email is sent to the address specified in &quot;<a href="#admin_general">General settings</a>&quot;.</p><p>This option is only recommended for websites with low or medium traffic (where users only upload every now and then).</p>
<a name="admin_approval_notify_end"></a>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_user_memberlist"></a>
<h4>Allow logged in users to view memberlist</h4>
<p>When enabled, an additional menu item &quot;Memberlist&quot; is displayed in the coppermine main menu if a user is logged in, to let him see a list of all users, with stats on their last visits, uploads and quota usage.</p><p>This is a new feature since cpg1.3.0 (user contribution by <a href="#contributors">Jason</a>) - it's available as <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98542">mod</a> (not in the regular coppermine package) for older versions than cpg1.3.0.</p>
<a name="admin_user_memberlist_end"></a>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_user_allow_email_change"></a><h4>Allow users to change their email address in profile</h4>
<p>This option impacts the user's profile page, it determines whether or not the user can change his/her own email address.<br />Use this option wisely, as the old email address of a user is not preserved after a change: if you allow users to change their email address, abusers may change it to a non-existing email address (e.g. after uploading some pics that go against your gallery's rules) - you would have no chance of tracking this user.</p>
<p>This option only applies if you use Coppermine as a standalone application; if you run Coppermine integrated with a bbs, this option will be deferred to the user profile from your bbs to manage each user's profile.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_user_allow_email_change_end"></a>
<a name="admin_user_editpics_public_start"></a><h4>Allow users to retain control over their pics in public galleries</h4>
<p>When enabled, both the admin and the uploading user can edit and delete files that were uploaded to a public gallery. Of course the user must have permissions to upload to the public gallery in the first place (see the <a href="#group_cp">groups control panel</a>) before this option will have any effect.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_user_editpics_public_end"></a>
<a name="admin_user_login_start"></a>
<a name="admin_user_login_threshold_start"></a>
<h4>Number of failed login attempts until temporary ban (to avoid brute force attacks)</h4>
<p>To make brute force attacks (where a hostile script tries to log into coppermine as admin by running through all possible combinations of username and password automatically) less effective Coppermine temporarily bans the IP address of a possible attacker after a certain amount of failed logins. This way, the brute force attack would need way to long to try all possible combinations.</p>
<p>With this setting you specify the maximum number of failed log-in attempts before the IP address of the user is temporarily banned.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_user_login_threshold_end"></a>
<a name="admin_user_login_expiry_start"></a>
<h4>Duration of a temporary ban after failed logins</h4>
<p>This value specifies the duration of the temporary ban (in minutes) after the number of failed log-in attempts specified with <a href="#admin_user_login_threshold_start">Number of failed login attempts until temporary ban</a>.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_user_login_expiry_end"></a>
<a name="admin_user_login_end"></a>
<a name="admin_user_enable_report"></a><h4>Enable reports</h4>
<p>Enable reports. When set to "yes," this feature will allow users to report on uploaded files or comments to the site admin.</p>
<p>This setting is dependant on e-cards being enabled.  Only users who have permission to send e-cards in the 'groups' settings are able to send reports. The report icon is hidden from those not allowed to do so.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_user_enable_report_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_custom"></a>
<h4>4.12.11 Custom fields for user profile (leave blank if unused). Use Profile 6 for long entries, such as biographies </h4>
<p>These fields are displayed within the &quot;user profile&quot; area. They will appear only if you assign a name to the field. As instructed in the heading, use field 6 for long entries, such as biographies, or if you want to include the use of bb code.</p>
<p>You can also use field 6 for avatars.  To show an avatar in the profile, it should be entered in bbcode, for example to show 'avatar.gif', which is located in your images folder, use the code [img]http://www.yoursite.com/images/avatar.gif[/img]</p>
<a name="admin_custom_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_custom_image"></a>
<h4>4.12.12 Custom fields for image description (leave blank if unused)</h4>
<p>These fields are displayed within the &quot;file information&quot; area. They will appear only if you give them a name.</p>
<a name="admin_custom_image_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_cookie"></a>
<h4>4.12.13 Cookie settings</h4>
<a name="admin_cookie_name"></a>
<h4>Name of the cookie used by coppermine</h4>
<p>Default value is &quot;cpg140&quot;. Even if you have multiple instances of the script running on the same server you can keep the default value.</p><p><span class="important">When using bbs integration, make sure it <strong>differs</strong> from the bbs's cookie name</span></p>
<a name="admin_cookie_name_end"></a>
<a name="admin_cookie_path"></a>
<h4>Path of the cookie used by the script</h4>
<p>Default value is "/". Don't change this unless you know what you are doing. This may prevent you from logging in.</p>
<p>If you have broken your gallery by modifying this value, use phpMyAdmin to edit the xxxx_config table in your database and restore the default value. </p>
<p>When using bbs integration into Coppermine, make sure to use <strong>different</strong> cookie names for coppermine and your bbs! The paths in both applications have to be set so coppermine is able to read both. Usually the default value &quot;<tt class="code">/</tt>&quot; should be set as path both for coppermine install and the BBS app you bridge with.</p>
<a name="admin_cookie_path_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_email"></a>
<h4>4.12.14 Email settings</h4>
<p>Usually nothing has to be changed here; leave all fields blank when not sure. Only if you run into problems (e.g. if ecards, registration info or notifications don't get sent) you should change these settings. Coppermine itself doesn't come with an engine to send mails, it relies on a webserver being able to do so (using the built-in mechanisms of PHP). If you're not sure what to enter, ask your webhost for support.</p>
<h4>SMTP Host</h4>
<p>The hostname of the <acronym title="Simple Mail Transfer Protocol">SMTP</acronym> server<br />
If you leave this blank, sendmail (or a surrogate) will be used to send emails from your server. Sendmail exists on most Unix/Linux webservers. If you specify a SMTP hostname, Coppermine will try to send emails using SMTP (this usually is needed on Windows webservers).</p>
<p class="small">[cpg1.4.0 or better required]</p>
<h4>SMTP Username</h4>
<p>The username needed to authenticate on the SMTP server (this is <strong>not</strong> your coppermine admin username).</p>
<p class="small">[cpg1.4.0 or better required]</p>
<h4>SMTP Password</h4>
<p>The password that goes with above mentioned username (<strong>not</strong> identical to your coppermine admin password).</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_email_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_logging"></a>
<h3>4.12.15 Logging &amp; statistics</h3>
<p>Like all logs (that record data that would get dropped if logging was disabled), the logging features of Coppermine will have a slight performance impact as well as an impact on webspace and database usage. You should make up your mind if you actually will need the logs before enabling the feature. A log is only helpful if the admin actually looks into it.</p>
<a name="admin_logging_log_mode"></a><h4>Logging mode</h4>
<p>Set, what kind of logging you want to enable. This feature records all changes that are done in coppermine's database, which is especially helpful if you're trying to debug or if there are various admins on a gallery.<br />
All log files are written in english</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="admin_logging_log_mode_end"></a>
<a name="admin_general_log_ecards"></a><h4>Log ecards</h4>
<p>When enabled, all ecards that are being sent are as well written into the database, where the coppermine admin can view them. Before switching this option on, make sure that logging is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_general_log_ecards_end"></a>
<a name="admin_logging_votedetails"></a><h4>Keep detailed vote statistics</h4>
<p>
  Enabling this option records:</p>
  <ol>
    <li>Each vote separately</li>
    <li>IP Address</li>
    <li>Referer</li>
    <li>Browser</li>
    <li>Operating System</li>
  </ol>
   <p>of the voter.</p>
   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.</p>
<p>
  <span class="important">Note: The total votes may not match if you enable details and do not reset the earlier votes.</span>
</p>
<a name="admin_logging_votedetails_end"></a>
<a name="admin_logging_hitdetails"></a><h4>Keep detailed hit statistics</h4>
<p>
  Enabling this option records:</p>
  <ol>
    <li>Each vote separately</li>
    <li>IP Address</li>
    <li>Search Keyword, if the referer is Google, Yahoo! or Lycos search engines</li>
    <li>Referer</li>
    <li>Browser</li>
    <li>Operating System</li>
  </ol>
   <p>of the visitor.</p>
   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.
</p>
<p>
  <span class="important">Note: The total hits may not match if you enable details and do not reset the earlier hits.</span>
</p>
<a name="admin_logging_hitdetails_end"></a>
<a name="admin_logging_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="admin_misc"></a>
<h3>4.12.16 Miscellaneous settings</h3>
<a name="debug_mode"></a><h4>Enable debug mode</h4>
<p>CPG will show error messages which are normally suppressed.  This is helpful in troubleshooting problems with your gallery or when asking      for help on the <a href="http://coppermine.sourceforge.net/board/">CPG Support Forums</a>. Turn this feature off if you don't experience problems.</p>
<p>Turn it on (option &quot;Everyone&quot;) if you are requesting help on the <a href="http://coppermine.sourceforge.net/board/">coppermine support board</a>, so the supporters can have a look at the debug output as well. Choose the option &quot;Admin only&quot; when troubleshooting on your own - debug output will be only visible when you're logged in as admin, regular users or guests won't see the debug output.</p>
<a name="admin_misc_debug_notices"></a><h4>Display notices in debug mode</h4>
<p>May be helpful to troubleshoot problems with your coppermine install - only recommended if you know a little PHP and you can understand the additional error messages this option shows. This option only applies if debug mode is enabled.</p>
<a name="admin_misc_debug_notices_end"></a>
<a name="debug_mode_end"></a>

<a name="admin_general_offline"></a><h4>Gallery is offline</h4>
<p>If you have to do maintenance work on your gallery, switch it to offline mode. Only members of the admin group will be able to log in, all other users will only see &quot;Gallery is offline&quot;. Remember to switch this option off once your maintenance work is done.</p>
<p class="small">[cpg1.3.0 or better required]</p>
<a name="admin_general_offline_end"></a>

<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="exif"></a>
<h2>4.13 EXIF data</h2>
<p>The &quot;Exchangeable image file&quot; format (Exif) is a specification for the image file format used by digital cameras with the addition of specific metadata tags. The meta data are written by the camera and can be post-processed using certain desktop applications. Coppermine is capable of displaying some of the EXIF data within the pic info section, like date and time information, camera settings, location information, descriptions and copyright information.<br />
<img src="pics/exif_data_cpg1.4.x.jpg" width="400" height="202" border="0" alt="Exif data in pic info section" />
</p>

<a name="exif_manager"></a>
<h3>4.13.1 EXIF manager</h3>
<p><img src="pics/exifmanager_cpg1.4.x.gif" width="600" height="439" border="0" alt="" align="right" />CPG1.4.x (or better) comes with an EXIF manager that let's the coppermine admin decide what EXIF data should be displayed within coppermine. Please note: if the exif data don't exist within a particular image, coppermine will of course not be able to display them. Coppermine is not an editor for exif data - it just displays the exif data that exists in your pics.<br />
To access the exif manager, go to coppermine's config and click within the section <a href="#admin_picture_thumb_advanced">Files and thumbnails advanced settings</a> at &quot;Manage exif display&quot; next to the line &quot;<a href="#admin_picture_thumb_advanced_exif">Read EXIF data in JPEG files</a>&quot;. Alternatively, you can directly enter http://yoursite.tld/your_coppermine_folder/exifmgr.php into your browser's address bar.</p>
<p>Tick the checkboxes in the exif manager that you want to show up in coppermine's pic info section (if the image file actually holds this particular set of information).</p>
<br clear="all" />
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="plugin_start"></a>
<a name="plugin"></a>
<h2>4.14 Plugins</h2>
<p>Included in your coppermine setup are two basic plugins:</p>
<ul>
    <li>Sample plugin: meant for plugin-writers as an example only</li>
    <li>SEF_URLS plugin: enables "Search-engine-friendly URLs" - this is an experimental plugin and should be used with caution.</li>
</ul>
<p>You can find more plugins on the Coppermine Support Forum, both from Coppermine developers and from user contributions.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="plugin_definition"></a>
<h3>4.14.1 What is a plugin?</h3>
<p>Starting from cpg1.4.0, coppermine comes with a plugin <acronym title="Application Programming Interface">API</acronym> that enables plugin authors to modify coppermine features without hacking the core code, making upgrading easier, as modifications don't have to be re-applied every time you upgrade your coppermine version. It's recommended to use plugins instead of code modifications that require hacking the core code.</p>
<a name="plugin_definition_end"></a>
<a name="plugin_api"></a>
<h3>4.14.2 The Plugin API</h3>
<p>The plugin API consists of several "hooks" all over the core code of coppermine that allows plugin authors to interact with coppermine functions, overriding or adding features. There are limitations to what can be done using a plugin, as the number of hooks is limited. As a result, not every change of coppermine behaviour that could be accomplished by hacking the core code is possible to achieve using the plugin API. However, using a plugin is more elegant and usually much easier to install and get running (at least for the end user) than a crude core code hack. Installing and configuring a plugin doesn't require the coppermine admin to mess with the source code - you simply upload the plugin, install it, configure it and you're done. If the plugin has been coded as suggested and is mature enough, it should come with a configuration screen that makes editing source code irrelevant.<br />
Unfortunately, there is no API documentation available yet.</p>
<a name="plugin_api_end"></a>
<a name="plugin_manager"></a>
<h3>4.14.3 The Plugin Manager</h3>
<p>The plugin manager is the central place from where you upload, install, configure and remove plugins. It can be acceessed in two ways:</p>
<ul>
    <li><strong>Using Coppermine's navigation:</strong><br />
    Log in as admin, go to coppermine's config, expand the "General settings" section, on click "Manage plugins" next to "Enable plugins" (make sure that you have set "Enable plugins" to "Yes") if you plan using plugins.</li>
    <li><strong>Directly accessing the plugin manager</strong><br />
    Make sure that you are logged in as admin, then directly enter the plugin manager's url in the address bar of your browser, e.g. http://yoursite.tld/your_coppermine_folder/pluginmgr.php</li>
</ul>
<p>The plugin manager organizes the plugins you have in your Coppermine directory.  It is important to understand the difference between uploading plugins and installing plugins.  When you copy a plugin to the Coppermine plugins folder (using the Upload button on the plugin manager or via FTP), you have merely uploaded the plugin files.  The plugin is not installed yet.  When you install a plugin, Coppermine runs the plugin's installation routine to configure and activate the plugin so that it will be executed when people use your gallery.  To clearly show which plugins are running and which are not, the plugin manager is separated into two sections (see screen capture below):</p>
<ul>
    <li>the plugins that are installed and running (upper section)</li>
    <li>the plugins that exist within the plugins folder of your server's hard drive but have not been installed and therefore are not running in your Coppermine gallery (lower section)</li>
</ul>
<p><img src="pics/plugin_manager.gif" width="716" height="234" border="0" alt="Coppermine Plugin Manager" /></p>
<p>By default, coppermine comes with some sample or code plugins (none of them are enabled by default though), additional plugins can be found on the corresponding section of coppermine's forum.</p>
<a name="plugin_manager_upload"></a>
<h4>4.14.3.1 Uploading a plugin</h4>
<p>Unless you're going to code your own plugins, they usually come packaged up already, compressed into a zip file. There are two options how to upload a plugin:</p>
<ul>
    <li>Method 1: <strong>Using the upload interface on coppermine's plugin manager page</strong><br />
    <ul>
        <li>Download the plugin you need from the internet (usually the <a href="http://coppermine-gallery.net/">coppermine page</a>) to your local hard drive</li>
        <li>Click the "browse" button on the plugin manager page</li>
        <li>Navigate to the plugin zip file you just have downloaded to your local PC's hard drive</li>
        <li>Click "upload"</li>
    </ul>
    This is the more elegant and easier method - you just use the upload control on the plugin manager page and the zip file you uploaded gets extracted from the archive and stored on the server within the proper folder. There are two pre-requisites though:
    <ul>
        <li>PHP running on your webserver needs zip support - not all webserver have zip support enabled.</li>
        <li>the script needs write permissions within the plugins folder.</li>
    </ul>
    If you fail to fullfil those two pre-requisites, this simple method (upload interface) won't work for you (i.e. you will get error messages when trying, or the plugin will even simply fail to work without an error message at all). If this is the case for you, it's recommended not to mess with server setup (unless you're an expert and the server is yours to administer), but just to use the second upload method described below.</li>
    <li>Method 2: <strong>Uploading the unzipped plugin files using your FTP app</strong><br />
        <ul>
            <li>Download the plugin you need from the internet to your local hard drive (same step as above)</li>
            <li>Unpack the zip file into a folder on your hard drive (preserving the folder structure of the plugin)</li>
            <li>Use your FTP app to upload the unpacked plugin files into the plugin folder of your coppermine install on your server, preserving the structure of the zip archive.  For example: if the plugin contained the folder "foobar", which held the actual plugin files, you upload the whole folder "foobar" and all of its contents into the plugins folder. The resulting folder structure on your server should be something like <tt class="code">/your_coppermine_folder/plugins/foobar/</tt></li>
        </ul>
    </li>
</ul>
<p>After uploading the files (you may need to refresh the plugin manager page), the plugin you just uploaded should show in the list "Plugins Not Installed". If it does, you can continue to the next step and <a href="#plugin_manager_install">install</a> the plugin.</p>
<a name="plugin_manager_upload_end"></a>
<a name="plugin_manager_install"></a>
<h4>4.14.3.2 Installing a plugin</h4>
<p>Installing a plugin is fairly straightforward - just click on the <img src="../images/info.gif" width="16" height="16" border="0" alt="" />-icon next to the plugin. The install will enable the plugin to be executed when coppermine is being run (depending on the plugin's purpose). Some plugins come with a configuration screen that will be executed right after the install - if this is the case, configure it accordingly.</p>
<a name="plugin_manager_install_end"></a>
<a name="plugin_manager_configuration"></a>
<h4>4.14.3.3 Plugin Configuration</h4>
<p>Some plugins may need to be configured during install, others may have a separate configuration page that can be accessed at any time. This depends on how the plugin author wrote the plugin, so we can't give any recommendations within this documentation. Some plugins may even need to be configured before actually being uploaded (especially plugins in alpha or beta stage - these may come without a browser-driven configuration page and require you to modify the plugin's code to configure the plugin). If unsure, take a look in the unzipped plugin archive on your hard-drive - usually, plugins that require you to edit or configure anything come with a README file that tells you how to do so.</p>
<a name="plugin_manager_configuration_end"></a>
<a name="plugin_manager_uninstall"></a>
<h4>4.14.3.4 Uninstalling a plugin</h4>
<p>Executing a plugin might be consuming resources or not work as expected, so you might want to uninstall a plugin at some time (maybe because you just tried it out and it doesn't work as expected for you). It's recommended not to just delete the plugin's subfolder using your FTP app (because the plugin might have applied database changes that need to be undone). Instead, you should go to the plugin manager and click on the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to an active (installed) plugin. The plugin then should get uninstalled and turn up in the list "Plugins Not installed". It's safe to leave the sources of an unneeded plugin on the server, so there should be no need to delete the plugin right after uninstall, however you may as well delete it, especially if you're short on webspace and the plugin eats up a lot of space.</p>
<p>To finally delete an inactive plugin from your server's plugin folder, click the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to a plugin that is in the list "Plugins Not installed". If the script fails to delete a plugin this way (because of lacking permissions to do so on file/folder level), you can use your FTP app to delete the particular plugin's sub-folder within coppermine's "plugins" folder (deleting manually). As with all delete operations, you should make a local backup before deleting if you're not absolutely sure what you're doing.</p>
<a name="plugin_manager_uninstall_end"></a>
<a name="plugin_manager_end"></a>
<a name="plugin_writing"></a>
<h3>4.14.4 Writing plugins</h3>
<p>As suggested above, there's no documentation available yet for plugin authors, so the only method to learn how plugins work is by looking at the source code. Examine the code of the plugins that come with coppermine, or take a look at some that are available for download from the plugin contributions sub-board on the coppermine web page.</p>
<p>If you accomplished writing a plugin, we ask you to share it with the coppermine community by posting it on the appropriate board (this is of course not mandatory, but we'd appreciate to see your contribution). We would welcome a user-contributed API documentation or a list of hooks as well, or other related documentation.</p>
<a name="plugin_writing_end"></a>
<a name="plugin_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />


<a name="integrating"></a>
<h1>5. Integrating the script with your bulletin board</h1>
<a name="integrating_bridge_start"></a>
<h2>5.1 Available bridge files</h2>
<p>Coppermine can be integrated with the following bulletin boards (eg. Coppermine
  and your bulletin board will share the same user database).</p>
<ul>
  <li>Invision Power Board</li>
  <li>Mambo</li>
  <li>MyBB</li>
  <li>Phorum</li>
  <li>phpBB 2</li>
  <li>PunBB</li>
  <li>SMF</li>
  <li>vBulletin</li>
  <li>XMB</li>
  <li>Xoops2</li>
</ul>

<a name="integrating_bridge_end"></a>

<a name="integrating_prerequisites_start"></a>
<h2>5.2 Pre-requistes</h2>

<a name="integrating_cookie_start"></a>
<h3>5.2.1 Authentication by cookie</h3>
<p>The login integration uses your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bulletin board on the same domain. Examples :</p>
<table border="0" cellspacing="5" cellpadding="5" class="border1">
<tr>
<td>This <strong>will</strong> work:</td>
<td>This <strong class="important">won't</strong> work:</td>
</tr>
<tr>
<td class="code">Bulletin board: http://yourdomain.com/board/<br />
Coppermine: http://yourdomain.com/gallery/</td>
<td class="code">Bulletin board: http://board.yourdomain.com/<br />
Coppermine: http://gallery.yourdomain.com/</td>
</tr>
</table>
<p>The cookie path in the forum's configuration should be set to '/' where this option is available.</p>
<p><span class="important">Important</span>: the cookie names of your bbs and coppermine must <strong>not</strong> be the same - they <strong>must</strong> differ!</p>
<a name="integrating_cookie_end"></a>

<a name="integrating_standalone_start"></a>
<h3>5.2.2 Standalone version first</h3>
<p>To avoid confusion, make sure to set up both coppermine and your bbs as standalone first. Make sure they both run correctly without integration. Test all features of coppermine (like upload, registration etc.) when Coppermine is installed, before you even start integration.</p>
<a name="integrating_standalone_end"></a>

<a name="integrating_users_start"></a>
<h3>5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</h3>
<p><span class="important">Warning:</span> If you already have users and custom groups in your coppermine database when you enable bbs integration, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!</p>
<a name="integrating_users_end"></a>

<a name="integrating_backup_start"></a>
<h3>5.2.4 Backup</h3>
<p><span class="important">Backup</span>: it is very advisable to backup both your coppermine database and your files before enabling bbs integration, so you can safely go back if the integration fails.</p>
<p>In fact you're encouraged to backup your database on a regular base, and especially before applying code changes.</p>
<a name="integrating_backup_end"></a>

<a name="integrating_prerequisites_end"></a>

<a name="integrating_steps_start"></a>
<h2>5.3 Integration steps</h2>
<p>From cpg1.4.x on you can use the <a href="#bridge_manager_start">Bridge Manager</a> that will provide a wizard-like interface to enable/disable bridging.</p>

<a name="bridge_manager_start"></a>
<h3>5.3.1 Using the bridge manager</h3>
<p>The bridge manager is a new feature in cpg1.4, it is not available in older versions. Instead of manually editing coppermine code files, you can enable/disable bridging in your browser, using a wizard-like user interface. To start the bridge manager, log in as admin, choose &quot;Admin Tools&quot; from the navigation and the &quot;bridge manager&quot;</p>
<p><img src="pics/bridge_01_start.gif" width="429" height="72" border="0" alt="" align="right" />If you run the bridge manager for the first time, there will only be one button that let's you actually start the wizard (if you return to the bridge manager later, you will also find a switch to enable/disable bridging) click it.</p>
<p class="important">Note: with each step in the wizard, some information is being written to the coppermine database. Unlike other wizards (mostly on your local machine), the bridge manager doesn't have a &quot;&quot;cancel&quot;-button! Once you have enabled bridging and everything is working fine, you shouldn't change any values just out of curiosity, as they will get written to the database, which might result in a bridging that used to work not working any more after &quot;playing&quot; with it.<br clear="all" /></p>
<p><img src="pics/bridge_02_app.gif" width="581" height="347" border="0" alt="" align="right" />In the first actual step of the wizard &quot;choose application to bridge coppermine with&quot;, you have to choose the application you actually want to coppermine with. Note that you <strong>must</strong> have this application already installed on your webserver, it has to be properly configured and must be up-and-running. Don't use the bridge manager yet if you only <em>plan</em> to integrate coppermine with another application later.</p>
<p>If you have a custom-made bridge file that is not available in the wizard, choose the radio button in front of the text field and enter the name of your bridge file there, without the extension &quot;.inc.php&quot; (the bridge file must reside in the coppermine sub-folder &quot;bridge&quot;).<br />
Click &quot;next&quot;</p>
<p>The next steps depend on the application you have chosen to bridge with: some applications need <acronym title="Uniform Resource Locator">URL</acronym>s to be entered, or paths. Some need mySQL table information or cookie data to be entered, others don't. The point of the wizard is that it will only &quot;ask&quot; you the relevant settings for your application - if one or more items of the following description doesn't turn up for your application, there's no need to worry - just keep filling in the mandatory information and then hit &quot;next&quot;. However, you have to understand that coppermine can proof-check only some of your input - some input goes unvalidated.</p>
<p>If a reset button (<img src="../images/flags/reset.gif" width="16" height="11" border="0" alt="" />) is being displayed next to an input field, the field value doesn't have the default value. It can be perfectly OK to have a non-default value in a field, however you should keep in mind that if you have &quot;played&quot; with the bridge manager before, previous settings might exist in a field that are not correct - do not light-heartedly skip a step without paying attention to it. Use the reset button to revert to the default value (not necessarily &quot;quor&quot; default value though).<br clear="all" /></p>
<a name="bridge_manager_app_start"></a>
<h4>5.3.1.1 choose application to bridge coppermine with</h4>
<ul>
<ul>
  <li>Invision Power Board</li>
  <li>Mambo</li>
  <li>MyBB</li>
  <li>phpBB 2</li>
  <li>Phorum</li>
  <li>PunBB</li>
  <li>SMF</li>
  <li>vBulletin</li>
  <li>XMB</li>
  <li>Xoops2</li>
</ul>
</ul>
<a name="bridge_manager_app_end"></a>
<a name="bridge_manager_path_start"></a>
<h4>5.3.1.2 path(s) used by your BBS app</h4>
<ul>
<li><strong>Forum URL</strong><br />
Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum/)</li>
<li><strong>Relative forum path</strong><br />
Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter "/forum/" into this field)</li>
<li><strong>Relative path to your BBS's config file</strong><br />
Relative path to your BBS, seen from your Coppermine folder (e.g. "../forum/" if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)</li>
</ul>
<a name="bridge_manager_path_end"></a>
<a name="bridge_manager_specific_start"></a>
<h4>5.3.1.3 BBS-specific settings</h4>
<ul>
<li><strong>Use post-based groups?</strong><br />
Should Coppermine import the special groups that exist in the forum ? If you select no, then Coppermine will use the standard groups (Administrator, Registered and Anonymous) which makes administration easier and is recommended. You can change this setting later as well.</li>
</ul>
<a name="bridge_manager_specific_end"></a>
<a name="bridge_manager_enable_start"></a>
<h4>5.3.1.4 enable/disable BBS integration</h4>
<p>This is the last step of the bridge manager - it summarizes up the settings you have made in previous steps - you can enable or disable integration here. By default, integration is set to &quot;disabled&quot; after the bridge manager has been run for the first time. You should only enable integration if you're sure your BBS app is set up correctly. Click the &quot;Finish&quot; button in any case to finally write to the database, even if you choose to keep the current settings (leaving integration &quot;disabled&quot;).</p>
<ul>
<li><strong>Enable integration/bridging with XXX</strong></li>
</ul>
<a name="bridge_manager_enable_end"></a>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="bridge_manager_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="bridge_manager_recover_start"></a>
<h3>5.3.2 Recover from failed bridging</h3>
<p>If you have provided improper settings using the bridge manager, your integration might fail, resulting (in the worst case) in a stituation where bridging is enabled, but you can not log in as admin to switch it off again (e.g. if you provided improper cookie settings that stops authentication from working). For this situation a recovery setting was built into the bridge manager: if you are not logged in as coppermine admin (in fact: not logged in at all) and you access the URL of your bridge manager (http://yourdomain.tld/your_coppermine_folder/bridgemgr.php) by entering it manually into the address bar of your browser, you are prompted to enter your admin account details - use the admin account you used to install coppermine with in the first place (the standalone admin account). This will not log you in, but switch integration off, so you can fix improper bridging settings then. To avoid others trying to guess your admin account details, there's a login treshold that rises every time you enter wrong credentials, so enter your admin account details with care.</p>
<p class="small">[cpg1.4.0 or better required]</p>
<a name="bridge_manager_recover_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />


<a name="integrating_steps_sync_start"></a>
<h3>5.3.3 Synchronising the bbs groups with Coppermine's groups</h3>
<p>Login using the admin account of your board. Go to the gallery, enter admin mode and click on the &quot;Groups&quot; button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.</p>
<p>Each time you add or delete a group in your board you will need to do the operation above in order to keep the synchronisation of the groups.</p>
<p>When you will try to login / logout or manage users from Coppermine, you will be redirected to the corresponding page of your bulletin board. Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery.</p>
<p class="important">It's mandatory that you (as admin) go to the groups page directly after bridging or whenever you change anything in your bridging configuration or if you change anything in your groups settings on your bbs, as you need to trigger the re-sync.</p>
<a name="integrating_steps_sync_end"></a>
<a name="integrating_steps_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="integrating_support_start"></a>
<h2>5.4 Bridging support</h2>
<p>With the explanations given above you should be able to bridge your (BBS) application with Coppermine. However, if things don't work as expected, you're welcome to look for help using the <a href="http://coppermine-gallery.net/forum/">coppermine support board</a>. When asking for support, please keep in mind that the supporters will need some information to enable them to help you:</p>
<ul>
  <li>Search the board before posting - maybe somebody had similar issues to yours that have been solved already</li>
  <li>Post on the board that deals with your version - bridging mechanisms have changed from version to version, that's why it's important to post on the board that actually corresponds to your coppermine version</li>
  <li>Don't hijack threads - when looking for bridging support, start your own thread</li>
  <li>Read the sticky threads before posting</li>
  <li>Make sure you are using the latest versions of the bridging files, they are kept up to date between formal Coppermine releases. Download the relevant files from the <a href="http://svn.sourceforge.net/viewvc/coppermine/trunk/stable/">SVN</a>. Update udb_base.inc.php and the file that corresponds to the bridge you are using and upload them into your bridge directory, overwriting the old ones. Of course you should make sure to use the most recent stable coppermine release in the first place.</li>
  <li>When requesting bridge support, please post a link to your site, a test user account, and what you have set in the bridge manager.<br />Make sure that the test user account doesn't have admin privileges. When posting parts of your bridge file, make sure to replace passwords with asterisks.<br />&nbsp;<br />This is how your posting should look like (with actual URLs instead of the dummy URLs given here as an example):<br />
  <pre class="code">I have the following issue when trying to bridge coppermine and XXX:
[error message here]

Coppermine install: http://mysite.tld/my_coppermine_folder/
Forum install: http://mysite.tld/my_forum_folder/
Coppermine version: cpg1.4.12
Forum version: SuperDuper BBS app v0.8.15
Test user account: some_testuser_name / the_password_for_the_test_user_account

BridgeManager settings:
Forum URL:  http://mysite.tld/test/foo_bar
Relative path to your BBS's config file:  ../bla/
Use post-based groups?:  0  </pre></li>
</ul>
<a name="integrating_support_start"></a>

<a name="integrating_end"></a>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="translating"></a>
<h1>6. Translating Coppermine into other languages</h1>
<p>Coppermine has a separate language file that make the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory.</p>
<p>If you select an utf-8 language file as the default one, then the script will be able to automatically select a language file based on the visitor browser configuration. For instance if the default language file is danish (utf-8) and an english visitor accesses your gallery, the english language file will be used by the script.</p>
<p> If you have translated Coppermine into a language not already supported, please read the <a href="translation.htm">translator's guide</a> and visit the <a href="http://coppermine.sourceforge.net/board/index.php?topic=4623.0">Coppermine Web Site</a> and follow the instructions for submitting your language.</p>
<p></p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="known_issues"></a>
<h1>7. Known Issues</h1>
<p>The following slight quirks and tiny issues are known and will hopefully be fixed in future releases.</p>
<ul>
        <li>The <a href="http://coppermine.sourceforge.net/board/index.php?topic=1866.0">arrows used for navigation</a> from one pic to the other display in the wrong order for rtl-languages</li>
        <li>Keyword list returns incorrect result for asian characters</li>
        <li>Browser bug: IE displays 100%-width values incorrectly</li>
        <li>New batch-add interface doesn't work on all server setups. Users who have issues with it should use the classic interface instead.</li>
        <li>Missing Query in debug output: the value for $CONFIG['debug_mode'] is not yet set before the first query to the config table</li>
        <li>Page tabs in user manager don't behave in the same way as other tabs</li>
        <li>Resizing gif/png with transparent background doesn't preserve alpha info</li>
        <li>Weird characters on mouseover tooltips in other browsers than IE</li>
        <li>Wrong charset in emails sent from coppermine</li>
        <li>Language fallback not working for util.php and faq.php</li>
        <li>Hardcoded charset in xp_publisher.php</li>
        <li>Thumbnail sizes over 120px causes edit fields to run over it's edge</li>
        <li>No album thumbnails for albums that contain only pics linked by keyword</li>
        <li>Possible stability issues with PHP5 and plugins</li>
        <li>Crop/rotate doesn't work with GD1</li>
        <li>Rotate causing distorted image for large files</li>
        <li>Search Engine Frienldy URLs plugin is not working flawlessly, it's still experimental</li>
        <li><tt class="code">&lt;object&gt;&lt;param&gt;&lt;/param&gt;&lt;/object&gt;</tt> construct for multimedia files doesn't validate but is needed for backwards compatibility</li>
        <li>Nuke check in installer needs improvement</li>
        <li>EXIF and IPTC information are lost when rotating</li>
        <li>Banned group doesn't work as expected</li>
        <li>Album created using XP publisher despite upload failure</li>
        <li>Hebrew translation still incomplete</li>
        <li>No category thumbnail for user galleries and categories that don't contain albums with pics in it, but only sub-categories</li>
        <li>SEF plugin breaks custom sort order</li>
</ul>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="credits"></a>
<h1>8. Credits</h1>
<a name="developers"></a>
<h2>8.1 Coppermine team</h2>
<!-- Team Member sort order: GROUP BY 'status' ORDER BY 'position' IN THIS ORDER (Proj Mgr,Lead dev,Developer,Supporter,tester,other), 'username' ASC -->
<table border="0" cellspacing="6" cellpadding="4">
  <tr>
    <td><strong>Developer</strong></td>
    <td><strong>Username</strong></td>
    <td><strong>Role/Position</strong></td>
    <td><strong>Status</strong></td>
  </tr>
  <tr>
    <td>Joachim M&uuml;ller</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=2">gaugau</a></td>
    <td>Project Manager</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Dr Tarique Sani</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=4">tarique</a></td>
    <td>Lead Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Abbas Ali</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=11737">abbas</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Aditya Mooley</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=5957">Aditya</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Donovan Bray</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=10059">donnoman</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Tommy Atkinson</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=941">Nibbler</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Dave Kazebeer</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=7">kegobeer</a></td>
    <td>Supporter</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Thomas Lange</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=14796">Stramm</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Thu Tu</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=7792">TranzNDance</a></td>
    <td>Supporter</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Paul Van Rompay</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=23938">Paver</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Amit Badkas</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=18262">Amit</a></td>
    <td>Developer</td>
    <td>active</td>
  </tr>
  <tr>
    <td>Andreas Ellsel</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=898">Andi</a></td>
    <td>Tester</td>
    <td>active</td>
  </tr>
  <tr>
    <td><strong>Developer</strong></td>
    <td><strong>Username</strong></td>
    <td><strong>Role/Position</strong></td>
    <td><strong>Status</strong></td>
  </tr>
  <tr>
    <td>Gr&eacute;gory Demar</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=259">Greg</a></td>
    <td>Original creator of Coppermine</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Jack</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=6">datajack</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>DJ Axion</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=9">djaxion</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Scott Gahres</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=66">gtroll</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Hyperion</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=125">hyperion01</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>John Asendorf</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=30">jasendorf</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Jay Hao-En Liu</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=59">Oasis</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Christopher Brown-Floyd</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=1874">omniscientdeveloper</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Timothy</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=6949">skybax</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>David Holm</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=14">wormie_dk</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Mark Zerr</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=11">zarsky99</a></td>
    <td>Tester</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>mitirapa</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=133">mitirapa</a></td>
    <td>Porter (Cross Platform Devel.)</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Moorey</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=13">moorey</a></td>
    <td>Web Designer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Maarten Hagoort</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=404">DJ Maze</a></td>
    <td>Developer (nuke team)</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Eyal Zvi</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=94">EZ</a></td>
    <td>Developer</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Clive Leech</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=56">casper</a></td>
    <td>Supporter</td>
    <td>retired</td>
  </tr>
  <tr>
    <td>Dennis Nakano</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=19311">madeinhawaii</a></td>
    <td>Supporter</td>
    <td>retired</td>
  </tr>
    <tr>
    <td>Roberta</td>
    <td><a href="http://coppermine-gallery.net/forum/index.php?action=profile;u=24398">Blueiris</a></td>
    <td>Supporter</td>
    <td>retired</td>
  </tr>
</table>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="contributors"></a>
<h2>8.2 Contributors</h2>
<table border="0" cellspacing="6" cellpadding="4">
<tr>
  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=101">DaMysterious</a></td>
  <td>DaMysterious has created loads of fantastic themes for Coppermine</td>
</tr>
<tr>
  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1399">Nanobot</a></td>
  <td>Doug has done the vBulletin v3 bridge file</td>
</tr>
<tr>
  <td><a href="http://www.sanisoft.com/aboutus.php3">Girish Nair</a></td>
  <td>Girish has contributed to the film strip feature</td>
</tr>
<tr>
  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=378">Jason Kawaja</a></td>
  <td>Jason did the <a href="http://coppermine.sourceforge.net/board/index.php?topic=1985.0">memberlist hack</a></td>
</tr>
</table>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="codebase"></a>
<h2>8.3 Coppermine uses code from the following free softwares :</h2>
<p><strong>phpBB</strong><br />
  Author: phpBBGroup <br />
  URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br />
</p>
<p><strong>phpMyAdmin</strong><br />
  Author: phpMyAdmin devel team<br />
  URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br />
</p>
<p><strong>phpPhotoAlbum</strong><br />
  Author: Henning St&oslash;verud<br />
  E-mail: henning AT stoverud DOT com<br />
  URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br />
</p>
<p><strong>DOM Tooltip 0.6.0</strong><br />
  Author: Dan Allen<br />
  E-mail: dan AT mojavelinux DOT com<br />
  URL: <a href="http://www.mojavelinux.com/forum/viewtopic.php?t=127">http://www.mojavelinux.com/forum/viewtopic.php?t=127</a><br />
  Note: DOM Tooltip, which is being used with the theme &quot;styleguide&quot; only, is released under <a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a><br />
</p>
<p><strong>TAR/GZIP/ZIP Archive Classes</strong><br />
  Author: Devin Doucette<br />
  E-mail: darksnoopy AT shaw DOT ca<br />
</p>

<p><strong>Exifixer</strong><br />
  Author: Jake Olefsky<br />
  URL: <a href="http://www.offsky.com/software/exif/index.php">http://www.offsky.com/software/exif/index.php</a><br />
</p>
<p><strong>Codelifter Slideshow</strong><br />
  URL: <a href="http://www.codelifter.com/">http://www.codelifter.com</a><br />
</p>
<p><strong>PHPMailer</strong><br />
  Author: <a href="http://sourceforge.net/project/memberlist.php?group_id=26031">PHPMailer Team</a><br />
  URL: <a href="http://phpmailer.sourceforge.net/">http://phpmailer.sourceforge.net/</a><br />
</p>
<p><strong>PHP Calendar Class Version 1.4</strong><br />
  Author: David Wilkinson<br />
  E-mail: davidw AT cascade DOT org DOT uk<br />
  URL: <a href="http://www.cascade.org.uk/software/php/calendar/">http://www.cascade.org.uk/software/php/calendar/</a><br />
</p>
<p><a class="back" href="#top">Back to top</a></p><hr />

<a name="copyright"></a>
<h2>8.4 Copyright and disclaimer</h2>
<p>This application is opensource software released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.
</p>
<p>Because the program is licensed free of charge, there is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program &quot;as is&quot; without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction. </p>
<p>Coppermine Photo Gallery is Copyright &copy; 2002 - 2007 Gr&eacute;gory  DEMAR and the Coppermine Dev Team, All Rights Reserved.<br />
</p>
<p><a class="back" href="#top">Back to top</a></p><hr />


      </td></tr></tbody></table>
</body>
</html>